2007-02-06 13:15:05,953 DEBUG [CommandReceiveJob] setControlFile(): Control File=HSERVIDOR
Pmarco
JSin título - Bloc de notas
ldfA006SERVIDOR
UdfA006SERVIDOR
NSin título - Bloc de notas
I would try stepping through the CommandReceiveJob class to see why it is failing. It looks like the file you are printing is huge if that debug statement is true.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
phaestion,
I see you are using the C# port of LPD. This was actually written by Jesse Martinez. He may be able to help. I have never actually run the C# version before, I'm more of a UNIX guy. https://sourceforge.net/users/sr_jesse/
-Chris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Nope, I'm using the Java version on Ubuntu. The problem only occurs when I'm printing from a Mac or Windows PC through the network. I can still access the file if I save it to disk, but it is in an entirely different format, I'm currently looking at PostScript.
May it be that I receive the error because of different encoding standards between Linux, Windows and Mac?
Mac may be because of the fact that I'm not setting the printer up correctly. I'm going to try to set the printer up to use PostScript instead of generic/text - as Mac does not have this setting.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well this is very surprising, since according to your error log:
2007-02-06 13:15:05,984 ERROR setDataFile(): For input string: "125899906843000"
a method called "setDataFile()" is being called in the CommandReceiveJob class. In the JAva version this method does not exist. I'm trying to help here, but I need accurate information if you want my help.
-Chris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
jobs did't show up
the error file show this
"
2007-02-06 13:13:30,328 DEBUG [LPD] LPD(): STARTED
2007-02-06 13:13:30,328 DEBUG [LPD] main(): STARTED
2007-02-06 13:13:30,328 DEBUG [Queues] Queues(): STARTED
2007-02-06 13:13:30,875 DEBUG [HandlerFactory] HandlerFactory(): STARTED
2007-02-06 13:13:30,890 DEBUG [LPD] main(): FINSHED
2007-02-06 13:13:30,921 DEBUG [QueueMonitor] run(): Nothing to process going to wait()
2007-02-06 13:13:30,921 DEBUG [LPD] run(): trying to accept() socket connection.
2007-02-06 13:15:05,906 DEBUG [LPD] run(): Connection opened.
2007-02-06 13:15:05,906 DEBUG [LPD] run(): Created a new PrintJob.
2007-02-06 13:15:05,921 DEBUG [LPD] run(): Got InputStream.
2007-02-06 13:15:05,937 DEBUG [NetUtil] readCommand(): Command = RAW
2007-02-06 13:15:05,937 DEBUG [LPD] run(): Command = RAW
2007-02-06 13:15:05,937 DEBUG [LPDCommands] createCommandHandler(): Receive Job Command
2007-02-06 13:15:05,937 DEBUG [CommandReceiveJob] execute(): Receive Job Command
2007-02-06 13:15:05,937 DEBUG [NetUtil] readNextInput(): Command = 105 cfA006SERVIDOR
2007-02-06 13:15:05,953 DEBUG [CommandReceiveJob] setControlFile(): Control File=HSERVIDOR
Pmarco
JSin título - Bloc de notas
ldfA006SERVIDOR
UdfA006SERVIDOR
NSin título - Bloc de notas
2007-02-06 13:15:05,953 DEBUG [CommandReceiveJob] setControlFile(): Control File Commands=classForBannerPage = null, host = SERVIDOR, indentCount = null, jobName = Sin, userName = null, email = null, fileName = Sin, userId = marco, symbolicLinkData = null, title = null, fileToUnlink = dfA006SERVIDOR, widthCount = null, troffRFontFileName = null, troffIFontName = null, troffBFontName = null, troffSFontName = null, plotCIFFileName = null, printDVIFileName = null, fileToPrintAsText = null, fileToPlot = null, fileToPrintAsTextRaw = dfA006SERVIDOR, fileToPrintAsDitroff = null, fileToPrintAsPostscript = null, fileToPrintAsPr = null, fileToPrintFortran = null, fileToPrintAsTroff = null, fileToPrintAsRaster = null
2007-02-06 13:15:05,968 DEBUG [NetUtil] readNextInput(): Command = 125899906843000 dfA006SERVIDOR
2007-02-06 13:15:05,984 INFO [CommandReceiveJob] setDataFile(): DataFile size=125899906843000
2007-02-06 13:15:05,984 ERROR [CommandReceiveJob] setDataFile(): For input string: "125899906843000"
2007-02-06 13:15:06,109 DEBUG [CommandReceiveJob] setDataFile(): Data File=
Sin título
test
test
"
each time that use print out the same number , you can see in the file
"125899906843000"
Thank in advances
Página 1
2007-02-06 13:15:06,109 DEBUG [Queues] addPrintJob(): got queue: RAW
2007-02-06 13:15:06,109 DEBUG [Queues] addPrintJob(): got lock for queue: RAW
2007-02-06 13:15:06,109 DEBUG [Queue] entry[void add(Object object)]
object...[, ControlFile:
[B@7259da, DataFile:
[B@16930e2]
Which handler are you using? Are you using the FileHandler?
Hi
I get the same error when I print from a windows PC through the network to my Ubuntu PC hosting the LPD.
org.simoes.lpd.command.CommandReceiveJob - receiveDataFile(): For input string: "125899906843000"
I replaced FileHandler with my own handler. Any ideas what may be causing this?
I would try stepping through the CommandReceiveJob class to see why it is failing. It looks like the file you are printing is huge if that debug statement is true.
phaestion,
I see you are using the C# port of LPD. This was actually written by Jesse Martinez. He may be able to help. I have never actually run the C# version before, I'm more of a UNIX guy.
https://sourceforge.net/users/sr_jesse/
-Chris
Nope, I'm using the Java version on Ubuntu. The problem only occurs when I'm printing from a Mac or Windows PC through the network. I can still access the file if I save it to disk, but it is in an entirely different format, I'm currently looking at PostScript.
May it be that I receive the error because of different encoding standards between Linux, Windows and Mac?
Mac may be because of the fact that I'm not setting the printer up correctly. I'm going to try to set the printer up to use PostScript instead of generic/text - as Mac does not have this setting.
Well this is very surprising, since according to your error log:
2007-02-06 13:15:05,984 ERROR setDataFile(): For input string: "125899906843000"
a method called "setDataFile()" is being called in the CommandReceiveJob class. In the JAva version this method does not exist. I'm trying to help here, but I need accurate information if you want my help.
-Chris
I am definitely running the Java version. My error looks like this.
15496 INFO org.simoes.lpd.command.CommandReceiveJob - receiveDataFile(): DataFile size=125899906843000
15496 ERROR org.simoes.lpd.command.CommandReceiveJob - receiveDataFile(): For input string: "125899906843000"
And my exception handler reports a problem with the EOF, so I suppose it may be because windows and linux use different EOF characters.
Thanks for your help.
I'm seeing the same size of 125899906843000 on Windows 7 running the C# version. This file size is returned for every file regardless of actual size.
I also noticed that error. It occurs because the number is too big to fit in an Integer. And my size is also 125899906843000. Whats the point here?