🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #876

Re: How not to have "print into a file" dialog box

#876
From: SaGS
Date: Sun, 28 Sep 2003 06:10
23 lines
2260 bytes
"dupas gwennhael" <member@adobeforums.com> wrote in message
news:2ccd8bc8.-1@webx.la2eafNXanI...
> I have installed Adobe Postscript 3 in order to have a printer which print
into a postscript file on Windows 98.
> When i want to print, i would like not to have the "print into a file"
dialog box. I would like the Adobe postscript printer to print always into
the same file in the same location.
> How can I do that ?
>
> Thanks.

This question is off-topic on this forum. Anyway, here are two solutions:

(1) Set the printer's port to a fixed (disk) file. With Win98, this can be
done from the "Details" tab in the printer's property sheet. Choose "Add
port"/ "Other"/ "Local port"/ when prompted specify the complete file name
you want to print to (with drive letter and path).

(2) If you are writing some software and want to print to a file, use the
lpszOutput menmber of the DOCINFO structure passed to StartDoc(). The
ability to do this depends on your programming language/ compiler/ method
used to print: no problem with C/C++ using GDI calls to print, but you're
out of luck with VB or if using some external object to do the printing.
Technical Details
Message-ID: <D71BAF75706BFE6A7E3764395441DE13@in.webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!news-xfer1.atl.newshosting.com!63.218.45.11.MISMATCH!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccd8bc8.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c61a,cface6c541b188c2
X-Google-Attributes: gid10c61a,public
X-Google-ArrivalTime: 2003-09-27 23:37:34 PST
From: "SaGS" <AntiSpamRemoveAllZsags54Z95@hotZmail.com>
Path: arc1-ca.pugleaf.net!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!news-xfer1.atl.newshosting.com!63.218.45.11.MISMATCH!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.postscript.programming
Subject: Re: How not to have "print into a file" dialog box
Message-ID: <D71BAF75706BFE6A7E3764395441DE13@in.webx.la2eafNXanI>
Date: Sat, 27 Sep 2003 23:10:34 -0700
References: <2ccd8bc8.-1@webx.la2eafNXanI>
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit