[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Puzzling lack of F8

Judith Davidsen wrote:
As you suggested, I sorted out the path problems, and now am getting "No printer file loaded. Cannot go into graphics view."

Waddoo I do now?

Load a printer file. Here's how. Call your settings.dfl file. Go to the bottom. You should have something like this
LPT2  D:\XYW4DOS\HP4-PLUS.prn  LJ 4-Plus for DJ 855C
The number after PP should equal the number of lines that follow, each one being a printer port and driver combination. Each line should begin with a port designation, followed by a tab, followed by the driver you mean to use for that printer, followed optionally by another tab and a description of the driver and printer combination. If the printer is physically connected to a parallel port on the PC you're using, USE "LPT1" or whatever. If it's mapped (called Printer pooling, IIRC, in XP) to a virtual parallel port (either from a networked printer or--XP and 2K ONLY--from a USB connection on that PC), use the mapped LPT number (the actual mapping or pooling is done from the Windows Printer Control panel).

Then you also need to add a line to your STARTUP.int file like this:
BX SETP 1Q2;*;
(using real XPL functions, of course. the number that follows "SETP" should be the number of the line--NOT the port--that contains the printer+driver combination that you want to be your default).
Note that PostGhst is listed as LPT1 though it's not. As Carl explained
last Dec.:
≪ One noteworthy point is that you can, in fact, add POSTGHST.PRN to a
PP table and
load it via the SETP command! (SETP is preferable to LOAD or LP because
it conserves memory, at least if you switch among different printer
files during a XyWrite session). The fact that the PP table doesn't
recognize USB ports is no obstacle; simply assign POSTGHST.PRN to your
parallel port (mine is LPT1) in the table, like this:

1  F:\XY4\POSTGHST.PRN  PostGhost Printer file (RJH)
In fact, you can assign the PRN file to an arbitrary port number -- 2, 3, 11, anything -- whether or not it's actually configured on your system. Xy doesn't check whether the port actually exists before loading the PRN file. And when it comes time to print, it doesn't matter if the port is there or not, because TYP prints to a file, which is then handed off to Windows for delivery to the physical printer. Just make sure that the CodePage, default LA, is set to 850 when you issue the SETP or LOAD command.≫