Hello hobart,
To keep the file unnumber while in EDITOR, add ",unn" on the end of your KEEP command:
1 blah, blah
2 //
...
/keep npconfig.pub.sys,unn
If a setup_file does not exist, then the spooler's default initialization of the printer includes the PCL command to set the printer to landscape. You can create a setup_file with other PCL commands (i.e. set orientation to portrait), OR just create a blank setup_file:
:editor
HP32201A.09.00 EDIT/3000 FRI, JAN 31, 2003, 8:31 AM
(C) HEWLETT-PACKARD CO. 1993
/a
1
2 //
...
/keep blank.hpenv.sys,unn
/e
END OF SUBSYSTEM
:
Then assign that file to your device in npconfig:
:editor
HP32201A.09.00 EDIT/3000 FRI, JAN 31, 2003, 8:33 AM
(C) HEWLETT-PACKARD CO. 1993
/t npconfig.pub.sys
FILE UNNUMBERED
/l all
1 19 (network_address = 15.56.222.10)
/m1
MODIFY 1
19 (network_address = 15.56.222.10)
d
19 (network_address = 15.56.222.10
/a
2 setup_file = blank.hpenv.sys)
3 //
...
/keep npconfig.pub.sys,unn
and then restart the spooler to force it to reread npconfig. Now the spooler will send ONLY your setup_file (even a blank file) to initialize the printer. If the setup_file is blank, then the effect is the same as if there were no initialization, and it is up to the printer's front panel settings to determine font, orientation, etc.
I hope that helps.
|