Click here to Skip to main content
15,887,027 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: FlowLayoutPanel1 and controls Pin
Nick Otten22-Jun-12 3:42
Nick Otten22-Jun-12 3:42 
GeneralRe: FlowLayoutPanel1 and controls Pin
Ammar_Ahmad22-Jun-12 13:16
Ammar_Ahmad22-Jun-12 13:16 
QuestionCommandBuilder Problem Pin
Pasan14821-Jun-12 5:13
Pasan14821-Jun-12 5:13 
AnswerRe: CommandBuilder Problem Pin
David Mujica21-Jun-12 5:25
David Mujica21-Jun-12 5:25 
GeneralRe: CommandBuilder Problem Pin
Pasan14821-Jun-12 6:30
Pasan14821-Jun-12 6:30 
GeneralCommandBuilder is not preferred method Pin
David Mujica21-Jun-12 10:29
David Mujica21-Jun-12 10:29 
QuestionTrying to merge exel print jobs Pin
Nick Otten21-Jun-12 3:00
Nick Otten21-Jun-12 3:00 
AnswerBuild your own queue Pin
David Mujica21-Jun-12 3:31
David Mujica21-Jun-12 3:31 
This is going to sound like overkill, but ...

1) Create a directory on the machine which will hold a list of file names which need to be printed.

2) Create a windows service which monitors the directory by using a FileSystemWatcher, when it sees a file added to that directory it looks to the printer to see if there is a job currently printing, if so, make the job sleep for a 1 minute (or whatever). If the printer is available, then send the job.

I created a Service with a FileWatcher to do all kinds of asynchronous processing and it works really well. I log messages to the Event Log for easy troubleshooting / status.

http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx[^]

Remember to vote. Cool | :cool:
GeneralRe: Build your own queue Pin
Nick Otten21-Jun-12 3:50
Nick Otten21-Jun-12 3:50 
AnswerRe: Trying to merge exel print jobs Pin
Dave Kreskowiak21-Jun-12 3:35
mveDave Kreskowiak21-Jun-12 3:35 
GeneralRe: Trying to merge exel print jobs Pin
Nick Otten21-Jun-12 3:44
Nick Otten21-Jun-12 3:44 
GeneralRe: Trying to merge exel print jobs Pin
Dave Kreskowiak21-Jun-12 4:04
mveDave Kreskowiak21-Jun-12 4:04 
GeneralRe: Trying to merge exel print jobs Pin
Nick Otten21-Jun-12 4:25
Nick Otten21-Jun-12 4:25 
GeneralRe: Trying to merge exel print jobs Pin
Dave Kreskowiak21-Jun-12 5:18
mveDave Kreskowiak21-Jun-12 5:18 
GeneralRe: Trying to merge exel print jobs Pin
Nick Otten21-Jun-12 21:26
Nick Otten21-Jun-12 21:26 
AnswerRe: Trying to merge exel print jobs Pin
Mycroft Holmes21-Jun-12 19:42
professionalMycroft Holmes21-Jun-12 19:42 
GeneralRe: Trying to merge exel print jobs Pin
Nick Otten21-Jun-12 21:32
Nick Otten21-Jun-12 21:32 
GeneralRe: Trying to merge exel print jobs Pin
Mycroft Holmes21-Jun-12 22:18
professionalMycroft Holmes21-Jun-12 22:18 
Questionbyte array to string Pin
jkirkerx20-Jun-12 18:06
professionaljkirkerx20-Jun-12 18:06 
SuggestionRe: byte array to string Pin
Sandeep Mewara20-Jun-12 19:36
mveSandeep Mewara20-Jun-12 19:36 
GeneralRe: byte array to string Pin
jkirkerx20-Jun-12 20:10
professionaljkirkerx20-Jun-12 20:10 
GeneralRe: byte array to string Pin
Sandeep Mewara21-Jun-12 19:17
mveSandeep Mewara21-Jun-12 19:17 
GeneralRe: byte array to string Pin
jkirkerx21-Jun-12 20:31
professionaljkirkerx21-Jun-12 20:31 
AnswerRe: byte array to string Pin
Nick Otten21-Jun-12 2:43
Nick Otten21-Jun-12 2:43 
QuestionPassword Storage Class Pin
flinchy318-Jun-12 4:31
flinchy318-Jun-12 4:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.