Joy Conner
7th January 2013, 22:38
I have used VB.net to execute sessions in BaaN but my current project has me stumped. My factory has requested 2 production order layouts. One will print on 8.5 x 11 paper using a portrait orientation. The other layout prints on 5.5 x 8.5 using landscape orientation.
All production orders will use BWPrint. And BWprint uses windows default printer and it's default settings. I think I have this right. We are getting ready to migrate from UNIX to Windows platform, so I don't have any automation with bwprint right now. This is my first.
When production orders are printed, user must change default print settings to portrait, the program prints all orders which are to be portrait. When this finishes, user must change paper size and set landscape orientation and run the program again to print all orders which are landscape.
My challenge is to automate this so user does not have to change default printer settings and so this can be a scheduled execution. Currently we print production orders every 15 minutes using UNIX cron. After our migration to Windows platform, UNIX crons will no longer be an option for me.
I have VS2010. Does anyone know how to change default printer settings? Or whether this is feasible?
As always, thanks in advance for any assistance.
- Joy Conner
All production orders will use BWPrint. And BWprint uses windows default printer and it's default settings. I think I have this right. We are getting ready to migrate from UNIX to Windows platform, so I don't have any automation with bwprint right now. This is my first.
When production orders are printed, user must change default print settings to portrait, the program prints all orders which are to be portrait. When this finishes, user must change paper size and set landscape orientation and run the program again to print all orders which are landscape.
My challenge is to automate this so user does not have to change default printer settings and so this can be a scheduled execution. Currently we print production orders every 15 minutes using UNIX cron. After our migration to Windows platform, UNIX crons will no longer be an option for me.
I have VS2010. Does anyone know how to change default printer settings? Or whether this is feasible?
As always, thanks in advance for any assistance.
- Joy Conner