Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I print a certain section?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I've made customer labels, but I need to know how to print only a certain section of my labels, like I have 406 pages, but I only need to print pg. 89 to p. 306. Can anyone help me? Thank you so much!
 
From the help file:


LABEL [FORM FileName1 | FORM ?] [ENVIRONMENT] [Scope]
[FOR lExpression1] [WHILE lExpression2] [NOCONSOLE]
[NOOPTIMIZE] [PDSETUP] [PREVIEW [NOWAIT]] [NAME ObjectName]
[TO PRINTER [PROMPT] | TO FILE FileName2]

Scope
Specifies a range of records. Only the records that fall within the range are printed. The scope clauses are: ALL, NEXT nRecords, RECORD nRecordNumber, and REST. For more information on scope clauses, see the Scope Clauses or Overview of the Language online topics. Commands that include Scope operate only on the table in the active work area.
The default scope for LABEL is ALL records.


You could use the RECORD nRecordNumber

 
Hope u have a print button to print the label...In the event which triggers the printing of the label issue a prompt statement..This will bring the printer dialog box..in which the user can select the printing range by specifying the page numbers...

Example

Label form [Label_Name] to printer prompt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top