Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

PrintSetPrinter – PB Docs 2019 – PowerBuilder Library

PrintSetPrinter – PB Docs 2019

PrintSetPrinter

PowerScript function

Description

Sets the printer to use for the next print function call. This
function does not affect open jobs.

Syntax

Argument

Description

printername

String for the name of the printer you want to use

Return value

Integer. Returns 1 if the function succeeds and -1 if an error
occurs.

Usage

The printername argument must use the same format as returned by the
PrintGetPrinter function.

Examples

This example sets the printer to the first printer in the list
retrieved by the PrintGetPrinters function:

See also

PrintGetPrinter

PrintGetPrinters


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x