(mm) | Filter for PostScript duplex printing | ||||||||||
Home | Software | Count | |||||||||||
Software: GWT GWTOAuthLogin X/Motif ansi xterm grabc mdgclock miv mplaymidi mppp mxascii mcmap mxcmap mxconsole mxkill mxshowfont qtip xmastm yrolo Web mhttpd web counter upload.pl TimeTrack.pl mod_auth_ldap Games fltkmm iphonemm Java cdcl cdclgwt jdgclock Libraries libcalen libmcfg libsll libmsock Misc bangla font dpr genmake hod smtp.pl vhtml phones_ldap showpic_ldap mbasecalc fluid_hack kdialppp strip2csv googlecode-upload MS Windows mwinclip.pl mbasecalc mailsend wiv |
dpr - a filter for PostScript printing in duplex.
Synopsisdpr [files] | lpr or dpr < file | lpr or cat file | dpr | lpr Descriptiondpr is a program to wrap PostScript duplex code around the content to be printed. The program appends the start-duplex code at the beginning of the content. dpr tries to detect if the content is in PostScript by looking at the first 2 characters. If the first 2 characters are %!, it thinks the content is in PostScript. If the content is in PostScript, it passes the content intact. If the content's first 2 characters are not %!, it will assume the content is ASCII and convert the content to PostScript. dpr prints the content at stdout, therefore, pipe the output to the specific printer. Note: it may or may not work with your printer and you must have the duplex tray in your printer.Examplesdpr file | lpr dpr file | lpr -Pc119_ps dpr < file | lpr dpr < file >file.outFor duplex printing from netscape, define the print commmand as: dpr | lpr Files/usr/local/lib/dpr/duplex.ps File containing PostScript code for starting duplex mode /usr/local/lib/dpr/a2ps perl script to convert ASCII to PostScript CopyrightFreeware. Do whatever you like with it. It would be nice but not required if you give me the credit for it.THIS PROGRAM IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE AUTHOR Muhammad A. Muquit BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. AuthorsMuhamad A Muquit
Download
URL of this page: |
||||||||||
back | Page updated: Sun Mar 31 01:59:56 2013 GMT Copyright © 2013 muquit@muquit.com. |