Hello Jeff, Normally when I start a print job at the command line and I want it to print it landscape compressed, I will type the following: $PRINT <filename> /FORM=COMPR_LANDSCAPE - This adventure is also possible when you use an init-string in the text file I'm printing, but now I don't know wich init string I must give. Can you help me ? Greetz Sandro Pibia Email : PibiaS@vertis.nl |
Hello Sandro ... The /FORM=COMPR_LANDSCAPE you
mentioned is a non-DEC standard. It implys that your system
administartor has set up what is known as a device control
library for the specific brand of printer on that print
queue. If you do the command : $SHOW QUE/FULL
<printerque> you will see a portion called the device
control library, designated by the /LIBRARY
qualifier. This will point to a file in
LIBRARY/TEXT format (usually in the directory
SYS$LIBRARY. Once you find the actual library file
(which usually ends in .TLB), then enter the
command $SHOW FORM COMPR_LANDSCAPE
This should show the name of the entry in
the device control library. Once you have this information,
enter in the command : $LIBRARY/TEXT/EXTRACT=<entryname> - This will produce the file
<entryname>.TXT in your current directory.
This text file contains the init string for your brand of
printer. Or you can look it up in the programmers
manual for your printer. I hope this helps. Jeff Cameron PS: In the near future I
will be publishing a page on how to set up device control
libraries for printers.
SYS$LIBRARY:<libraryname>.TLB
DCL | Utilities | Management | Tips