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

[No Subject]



It will work with either the 2015 or 2016 branch of vdos-lfn; however, there's a different LPT1 = command for the two versions, thanks to recent changes to the vdos print engine.  See the original post for the appropriate command.


Incidentally, the same routine will print PCL documents (assuming a xywrite HP LJ driver is loaded), if "gswin32c.exe" is changed to "pcl16.exe" in the pclprint.cmd batch file, and with HP's Dark Courier as the default font.  This is, again, the work of Edward Mendelson, for which, thanks.



From: J R FOX
To: "xywrite@xxxxxxxx"
Sent: Tuesday, August 23, 2016 12:11 PM
Subject:

John,

But, this won't be applicable to the 2015 branch ?  (Or, it's not needed there, because ___ .)


   Jordan



From: John Paines
To: "xywrite@xxxxxxxx"
Sent: Monday, August 22, 2016 1:12 PM
Subject: Re: concept of a Xy PCL driver for producing standard Postscript

Picking up on Kari's observation (LPT1.asc holds the PS codes), there's an apparent solution for direct printing of PS files (no screen pdf), which involves a slight alteration to the pcl6 direct print method, courtesy of Edward Mendelson.

Download the Sumatra portable pdf reader and put the .exe file in the vdos directory.  Then add one of these lines to the config.txt:

LPT1 = "pclprint.cmd" HIDE #LPT1.ASC [for the June 2016 vdos build]

Or

LPT1 = @pclprint.cmd #LPT1.ASC [for pre-2016 vdos and vdosxy3)

Then create the following batch file, pclprint.cmd, and move it into the vdos directory:

@echo off
cd /d %~dp0
GSWIN32C.exe -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=PCLPRINT.PDF "%1"
SumatraPDF.exe -print-to-default PCLPRINT.PDF
del PCLPRINT.PDF


PS print jobs will now go directly to the printer.  In brief testing, it worked without incident.



From: Kari Eveli
To: xywrite@xxxxxxxx
Sent: Monday, August 22, 2016 10:10 AM
Subject: Re: concept of a Xy PCL driver for producing standard Postscript

There is more: In Xy3 using the PS driver, TY command produces a
#LPT1.asc file that can be distilled, and a #LPT1.txt file that causes
the DOSPrinter dialog to show. The #LPT1.txt file has a FF FE Byte Order
Mark at the beginning and the file is not a PS text file, it is UTF-16,
little-endian.

Can the ASC file be directed as input for the GhostPCL process?


Best regards,

Kari Eveli
LEXITEC Book Publishing (Finland)
lexitec@xxxxxxxx

*** Lexitec Online ***
Lexitec in English: http://www.lexitec.fi/english.html
Home page in Finnish: http://www.lexitec.fi/