Until this afternoon, I only knew ntp as network time protocol. But installed on our Windows 2008 server is a different ntp as shown below with ntp -?
.
I am looking for documentation above and beyond what came out in help. I want to send a duplex command to the printer.
Any ideas or pointers to documnentation would be appreciated. For example, if you look at -@
as the first option, our MUNIS printing uses these files. I want to know what those commands are. They are not specific to MUNIS. They are specific commands to the printer. I've added a sample file at the end of this post.
C:\Windows\system32>ntp -?
v1.09 Usage: piped_data | ntp.exe -dPrintDevice <options> <InputFile>
(Epson) (Default)
-@ <options file>: File containing (these) option settings:
-d <printer> : Name of printer, ex. '\\svr\hplaser' :
-r <filename> : Redirect output to file (PCL format) :
-n <# copies> : Number of copies : 1
-o <orientation> : P=Portrait L=Landscape : P
-l <lpp> : Lines per page : 66
-i <lpi> : * Lines per inch : 6
-v <VMI> : Vertical Motion Index : 7.2
-m <top margin> : Top margin :
-z <point size> : Point Size (font height) : 12
-s <spacing> : * 0=Fixed 1=Proportional : 0
-p <pitch> : * Character per Inch : 10
-e <left margin> : * Left margin :
-b <bin> : 0=Current 1=Main 2=Manual 5=Lg tray : 0
-t <typeface> : 0=Line Ptr 3=Courier 4101=TimesRoman : 3
-y <sym set> : 8U=Roman-8 0B=Line Draw 0O=OCR-A : 8U
-w <stroke wt> : * 0=Medium 3=Bold : 0
-u <setup string>: * Override built-in setup, ex. '\033E' :
-f : * Append FormFeed (eject) at document end:
-q : * Debug flag, shows escape codes on scrn :
-x <emulation> : H=HP Laser, E=Epson FX, R=Raw mode : H
Default emulation is HP PCL-5. Use '-x E' for Epson FX.
Options file format (-@ flag):
Options file settings OVERRIDE the same option on command line.
Enter only 1 option per line.
Any line not starting with '-' or '/' is ignored (comment).
Examples:
*--- Using pipe, landscape, 132 col, 66 lpp, to hp4.
dir | ntp -d hp4 -l 66 -v 5.45 -p 13 -o L
*--- Same as above, only using options file with 1 option per line.
dir | ntp -@ hp4land.ntp
*--- Using file, portrait, 80 col, 66 lpp, to \\server\hp4.
ntp -d \\server\hp4 myrpt.txt
A space after flag is not required, -p10 or -p 10 are both ok.
ls.ntp used with the -@ <options file>
.
# LS.NTP
# NTP.exe options file to setup for 'ls' mode
# Set landscape mode
# Set pitch condensed landscape mode 13.0
# Set VMI landscape mode 15.45
# Set Left Margin to 3
-o L
-p 13.0
-v 5.45
-e 3
I cannot tell if the locally installed ntp.exe is strictly a vendor's creation or part of HP's utilities, given HP and Epson are mentioned in the documentation.