[go: up one dir, main page]

Activity for LPD (Line Printer Daemon) in Java and C#

  • Kim Zeevaarders Kim Zeevaarders posted a comment on discussion Open Discussion

    hmmm, if i comment out the check on data != 0 in the NetUtil.readPrintFile class I seems to receive the complete PCL data file: public byte[] readPrintFile(InputStream is, OutputStream os) throws IOException { final String METHOD_NAME = "readPrintFile(): "; ByteArrayOutputStream baos = new ByteArrayOutputStream(); int data = is.read(); while(-1 != data /*&& 0 != data*/) { //should see a 0 baos.write(data); data = is.read(); } os.write(Constants.ACK); return baos.toByteArray(); } If I convert the...

  • Kim Zeevaarders Kim Zeevaarders modified a comment on discussion Open Discussion

    Hi Chris, I tried out the Java version of the lpdspooler and it works perfectly fine when I print to a generic text or postscript printer. However, if I try to print to a PCL printer the data file seems incomplete. I only see the "metadata" in the printjob file, but not the actual data. Example: %-12345X@PJL JOB @PJL SET JOBATTR "OS =Windows" @PJL SET JOBATTR "OS Version = Windows 8.1 6.3.9600.1" @PJL SET JOBATTR "Render Type = InOS" @PJL SET JOBATTR "Render Name = HP PCL6 Class Driver" @PJL SET...

  • Kim Zeevaarders Kim Zeevaarders modified a comment on discussion Open Discussion

    Hi Chris, I tried out the Java version of the lpdspooler and it works perfectly fine when I print to a generic text or postscript printer. However, if I try to print to a PCL printer the data file seems incomplete. I only see the "metadata" in the printjob file, but not the actual data. Example: %-12345X@PJL JOB @PJL SET JOBATTR "OS =Windows" @PJL SET JOBATTR "OS Version = Windows 8.1 6.3.9600.1" @PJL SET JOBATTR "Render Type = InOS" @PJL SET JOBATTR "Render Name = HP PCL6 Class Driver" @PJL SET...

  • Kim Zeevaarders Kim Zeevaarders posted a comment on discussion Open Discussion

    Hi Chris, I tried out the Java version of the lpdspooler and it works perfectly fine when i print to a generic text or postcript printer. However, if i try to print to a PCL printer the data file seems incomplete. I only see the "metadata" i the printjob file, but not the actual data. Example: %-12345X@PJL JOB @PJL SET JOBATTR "OS =Windows" @PJL SET JOBATTR "OS Version = Windows 8.1 6.3.9600.1" @PJL SET JOBATTR "Render Type = InOS" @PJL SET JOBATTR "Render Name = HP PCL6 Class Driver" @PJL SET JOBATTR...

  • Shashi Shashi posted a comment on discussion Help

    i want to save file name etension based on the input file name extension ex..if input...

  • Chris Simoes Chris Simoes posted a comment on discussion Help

    I beleive with LPD/lpr printing, if you want 5 copies printed, you send the job 5...

  • dzems dzems posted a comment on discussion Help

    When you send/print X number of copies to LPD server, this number is not captured...

  • LPD (Line Printer Daemon) in Java and C# LPD (Line Printer Daemon) in Java and C# released /OldFiles/lpd-0.5-src.tar

  • Chris Simoes Chris Simoes posted a comment on discussion Help

    Halloei, I am happy to try and help, but I was hoping you could answer a couple questions...

  • Chris Simoes Chris Simoes posted a comment on discussion Help

    Halloei, I suspect that the printer driver you are using is adding these formatting...

  • halloei halloei posted a comment on discussion Help

    I also noticed that error. It occurs because the number is too big to fit in an Integer....

  • halloei halloei modified a comment on discussion Help

    Hi, at first, thanks for your work! I need to get the content of a cmd-like window...

  • halloei halloei modified a comment on discussion Help

    Hi, at first, thanks for your work! I need to get the content of a cmd-like window...

  • halloei halloei posted a comment on discussion Help

    Hi, I need to get the content of a cmd-like window on Windows. There is a print button...

  • Chris Simoes Chris Simoes posted a comment on discussion Help

    Oh one last thing, the C# version of LPD is a port done by Jesse. I have only worked...

  • Chris Simoes Chris Simoes posted a comment on discussion Help

    Peter, I was able to capture PDF's on Windows 2000 back when I wrote the Java version...

  • Peter Trinh Peter Trinh posted a comment on discussion Help

    Thanks Chris for the reply. I'm using "Generic Text driver" when adding the virtual...

  • Chris Simoes Chris Simoes posted a comment on discussion Help

    This is surprising. I would expect the contents to be the binary print job file sent...

  • Chris Simoes Chris Simoes posted a comment on discussion Help

    LPD is a good way to store and forward print jobs. However, it does not understand...

  • Peter Trinh Peter Trinh posted a comment on discussion Help

    I'm seeing the same size of 125899906843000 on Windows 7 running the C# version....

  • Peter Trinh Peter Trinh posted a comment on discussion Help

    I'm detecting if the file is PDF based on the extension then I save the byte array...

  • Peter Trinh Peter Trinh posted a comment on discussion Help

    Hi all, I got this C# project working for Windows 7 (Thanks to the original developers)....

1