Over 1.106.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and sys.variables and env.variables,.
Discussion forum
?CAD discussions, advices, exchange of experience
CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.
Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
|
Post Reply
|
| Author | |
elibenari
Newbie
Joined: 25.Aug.2010 Location: Israel Using: gstarcad Status: Offline Points: 3 |
Topic: get papersize from plt filePosted: 29.Aug.2010 at 19:46 |
|
We
need to be able to calculate the papersize of a plot made from a plt file. Till now we did it with the knowledge that in most HPGL/2 PLT files we can retreive the paper size from the values of PAPERLENGTH and PAPERWIDTH inside the binary file where the HPGL units are in 1/40 of mm. We got some cases now where our calculation is erroneous. Does anybody know how to
improve our calculation based on the binary plt file? Is
there anything else in the plt file that has to be considered? |
|
![]() |
|
Vladimir Michl
Moderator Group
Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2144 |
Posted: 25.Aug.2010 at 18:22 |
|
There are more ways to specify the size - it depends on the settings of the driver which has generated the PLT file.
One of quite reliable ways is the HP Instant Printing Utility (IPU) - see Download. If you need to find this parametr in your own script/macro, you would need to parse the HPGL/2 binary file.
|
|
|
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner |
|
![]() |
|
elibenari
Newbie
Joined: 25.Aug.2010 Location: Israel Using: gstarcad Status: Offline Points: 3 |
Posted: 25.Aug.2010 at 18:11 |
|
In Cadforum someone asked How to get paper size from a .PLT file. The answer that he got was: In most HPGL/2 PLT files you can retreive the paper size from the PS instruction or from the SET PAPERLENGTH and SET PAPERWIDTH PJL instructions. The HPGL units are in 1/40 of mm. In many .plt files the resulting Plt drawings had different paper size. Can anyone instruct me how to calculate?
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0,109 seconds.
![CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](/common/arkance_186.png)


get papersize from plt file

Topic Options


