Over 1.099.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 variables.
Discussion forum
?CAD discussions, advices, exchange of experience

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 |
![]() 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?
|
|
![]() |
|
Vladimir Michl ![]() Moderator Group ![]() Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2124 |
![]() |
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 |
![]() |
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? |
|
![]() |
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,227 seconds.