Questions tagged [printer-properties]

27 questions
1
vote
1 answer

How to intercept data being sent to a printer?

I'm interfacing with an application that's sending a raw printer file to the default printer. This is the only thing it will do with the data. I need to get this file somehow so I can store it elsewhere instead. What would be the best way to do…
William W
  • 1,776
  • 6
  • 21
  • 40
1
vote
1 answer

How to fix the Win32_Printer.Default field so that it returns the correct value when using WMI remotely?

The Win32_Printer class returns a field per printer called Default (a boolean value). This works locally and accurately returns the Default printer. However when remotely connecting in with WMI, it always returns false. I thought it could depend on…
Mark
  • 5,223
  • 11
  • 51
  • 81
1
vote
1 answer

Using Java, how can I let users set the printer options without using the print dialog?

I am developing an application as a college project. It's (almost) complete, with most features working properly. The application records visitor information and prints a visitor badge for each visitor. The visitor enters their information into…
mal
  • 3,022
  • 5
  • 32
  • 62
1
vote
1 answer

Configure Virtual Printer Port Redirection

I need to configure a virtual printer port to redirect it to a external program(.exe file) through c# code. Right now I am able to install a virtual port with some customization(thanks to bghh code). The attached picture illustrates the…
Naveen
  • 193
  • 2
  • 12
1
vote
0 answers

ResetDC() does nothing (print spooler API's for Windows)

I've written wrapper classes for Windows' print spooler APIs, which work... mostly. The only thing that does not work is applying printer settings. First I call DocumentProperties() to successfully acquire and play with printer settings. Then I try…
Peter Thönell
  • 115
  • 3
  • 11
0
votes
1 answer

How to get a pdf printout in landscape format?

This is with reference to this thread How to make a pdf printout occupy the entire A4 page. I am able to bring all the content into a single page, but even if I set the printer preferences to landscape format, it doesn't print it. What could be the…
diya
  • 6,938
  • 9
  • 39
  • 55
0
votes
1 answer

Edit printer preferences using printui.dll

Can I use printui.dll to edit the printer preferences(Number of copies to be printed). Currently am using this dll for viewing the properties using this syntax "RUNDLL32 PRINTUI.DLL,PrintUIEntry /e /n "myprinter" How should I change this to modify…
Raja
  • 509
  • 2
  • 10
  • 20
0
votes
1 answer

Get Printer Status Using SNMP OID

I am working with SNMP in Android. I want to get Printer Status. I am using Snmp4Android.jar and OID 1.3.6.1.2.1.25.3.5.1.1. Please refer this link Printer Status. SnmpActivity.java here public class SnmpActivity extends Activity { private static…
user4232
  • 592
  • 1
  • 12
  • 37
0
votes
0 answers

Print multiple documents in a folder

I just need to print multiple documents inside a folder using C++ code. I am using IOleCommandTarget.Exec() method. For the first time I have to show the print configuration dialog( I have set "OLECMDEXECOPT_PROMPTUSER" to show the print config…
Keloth
  • 1
0
votes
1 answer

Crystal Report PrintToPrint method hang the software when Printer is not connected in after software installation?

In my project method PrintToPrint for crystal report works fine but after installation of the software when Printer is not connected to machine this method makes my software process hangs. Can any one help me solve this issue?
Tulsi
  • 151
  • 3
  • 15
0
votes
1 answer

BaseDevModeType: What is difference between the two enumerations?

The BaseDevModeType defines two enumerations: PrinterDefault. UserDefault. I understand that the devmode base structure is populated based on the enumerations. But, How are these two devmodes different ? What examples cases would each of the…
Vishnu Pedireddi
  • 2,142
  • 4
  • 25
  • 34
-1
votes
1 answer

Printer Naming Convention

Can we get Printer information such as mono or color from its Make and Model Number . Is there any naming convention exists ? For the model like Lexmark,Canon,Toshiba,HP is there any naming convention exist ? Any help will be appreciated Thanks…
Abhishek
  • 181
  • 2
  • 12
1
2