Print Wizard from -pq option
John Sica
john at chrismanncomputer.com
Thu Nov 5 08:07:32 PST 2009
Richard,
Here is a printer definition in unix that might work for you in
windows. The command is all on one line. It's been working for about 2
yrs. The printer is called pdfviewer. It invokes the program called
pcl2pdf, which would have to be substituted with a windows command line
converter, like oakdoc.com's command line pcl to pdf converter (($78.00)
which does the same thing that the open source pcl2pdf unix/linux
program does.
The really nice part about this is that none of the report formats had
to be re-written to format the output for the pdf document. The
document gets saved to a mapped drive on the local server's web site
under the users directory and mdyhms.pdf document name and auto pops up
on the screen as a pdf document to be printed to the desired printer.
The escape sequences call up the local machine's default pdf view.
These excape sequences (although not the same) work in emulators such as
Anzio and Facetwin and probably others.
24 printer23 pdfviewer,hp-4+,/usr/local/bin/pcl2pdf -
$PFSERVROOT/temp/$LOGNAME/$MDYHMS.pdf;echo
"\033[2]https://www.mylocalwebsite.net/temp/$LOGNAME/$MDYHMS.pdf\r",Output
to screen in PDF Format
Richard Hane wrote:
> System: fpODBC ver 5.0.15 , Windows 2003 network
>
> I have several forms that we regulaly print as a pdf via print
> wizard. That works fine.
>
> However, I would like to give my users the option to do this on all
> forms and some reports as a regular option. To do the above we have
> to use a batch file in addition to the printer definition. Is there a
> way to do this with out a batch file? IN short they could pick the
> pdf option as and other printer using the -pq flag.
>
> Thank you,
> Rick Hane
> Controller
> Deluxe Stitcher Company Inc
> www.deluxestitcher.com <http://www.deluxestitcher.com>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
More information about the Filepro-list
mailing list