Click here to Skip to main content
15,918,808 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: CrystalViewer Formula Field in VB.net Pin
John Kuhn24-Feb-04 15:00
John Kuhn24-Feb-04 15:00 
GeneralBut I am not using Report Document Pin
Tasnim24-Feb-04 19:52
Tasnim24-Feb-04 19:52 
GeneralRe: But I am not using Report Document Pin
Dave Kreskowiak25-Feb-04 6:39
mveDave Kreskowiak25-Feb-04 6:39 
GeneralRe: But I am not using Report Document Pin
John Kuhn25-Feb-04 10:10
John Kuhn25-Feb-04 10:10 
GeneralHelp me please... Pin
badaikeramat23-Feb-04 21:29
badaikeramat23-Feb-04 21:29 
GeneralRe: Help me please... Pin
Dave Kreskowiak24-Feb-04 6:13
mveDave Kreskowiak24-Feb-04 6:13 
GeneralSet Printer Stapling Pin
Edbert P23-Feb-04 19:39
Edbert P23-Feb-04 19:39 
GeneralRe: Set Printer Stapling Pin
Dave Kreskowiak24-Feb-04 5:48
mveDave Kreskowiak24-Feb-04 5:48 
I can't find a single code example (in any language) that even comes close to what you want. The only example I could find is buried inside driver code, which won't help you because your not doing the actual job assembly and printing.

There are a couple of problems:

1. You need to set the stapling in PageSetup of the document before it is printed. This will not be accomplished using the API calls. What you've been looking at is setting the default for the printer for ALL documents being printed by ALL applications.

2. Since not all printers support stapling and the ones that do require you to send different data structures to enable stapling, coding this is going to be a GIANT pain.


If your doing this as a document template, you should be able to start a document, using the printer with stapling as the default printer, go into PageSetup and set everything you need to, including stapling, then setup your documents properties the way you want, then just save the template as a .DOT file. When you create a document using that template, stapling SHOULD be enabled, and not if the printer doesn't support it.

The above has NOT been tested since I don't have access to ANY printers that support stapling (rare, but cool, beasts that they are.)


RageInTheMachine9532
GeneralRe: Set Printer Stapling Pin
Edbert P24-Feb-04 10:59
Edbert P24-Feb-04 10:59 
QuestionEmail "To" functionality - how to do? Pin
Malcolm Green23-Feb-04 19:19
Malcolm Green23-Feb-04 19:19 
AnswerRe: Email "To" functionality - how to do? Pin
Dave Kreskowiak24-Feb-04 5:50
mveDave Kreskowiak24-Feb-04 5:50 
QuestionHow to make the form moveable? Pin
younghand23-Feb-04 16:23
younghand23-Feb-04 16:23 
AnswerRe: How to make the form moveable? Pin
Dave Kreskowiak23-Feb-04 18:15
mveDave Kreskowiak23-Feb-04 18:15 
QuestionHow to use CallByName function in VB.NET Pin
bqdieu23-Feb-04 16:16
bqdieu23-Feb-04 16:16 
AnswerRe: How to use CallByName function in VB.NET Pin
Dave Kreskowiak23-Feb-04 17:59
mveDave Kreskowiak23-Feb-04 17:59 
Generalmy two simple problems Pin
bensoncd23-Feb-04 11:22
bensoncd23-Feb-04 11:22 
GeneralRe: my two simple problems Pin
Ian Darling23-Feb-04 11:30
Ian Darling23-Feb-04 11:30 
GeneralSetting a Leap year condition Pin
bensoncd23-Feb-04 11:20
bensoncd23-Feb-04 11:20 
GeneralRe: Setting a Leap year condition Pin
Ian Darling23-Feb-04 11:27
Ian Darling23-Feb-04 11:27 
GeneralFormatting numbers Pin
erikkloeze23-Feb-04 5:05
erikkloeze23-Feb-04 5:05 
GeneralRe: Formatting numbers Pin
Hesham Amin23-Feb-04 7:50
Hesham Amin23-Feb-04 7:50 
GeneralRe: Formatting numbers Pin
erikkloeze23-Feb-04 8:55
erikkloeze23-Feb-04 8:55 
GeneralRe: Formatting numbers Pin
Nadroj24-Feb-04 12:12
Nadroj24-Feb-04 12:12 
GeneralSome guidance required Pin
Asad Hussain23-Feb-04 4:16
Asad Hussain23-Feb-04 4:16 
GeneralRe: Some guidance required Pin
steff kamush23-Feb-04 4:26
steff kamush23-Feb-04 4:26 

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.