Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Infor / Lawson Platforms
S3 Systems Administration
Interfacing batch command files with PRTDEF
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
John Bonin
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5270
People Online:
Visitors:
332
Members:
0
Total:
332
Online Now:
New Topics
Lawson S3 Procurement
Tolerance Settings
3/31/2025 2:01 PM
I've been trying to set a tolerance for some t
Dealing with Lawson / Infor
Printing Solutions other than MHC
3/27/2025 1:00 PM
What are others using for printing solutions besid
Lawson S3 Procurement
Green check marks in Lawson 9.0.1
3/20/2025 4:55 PM
Hi, How to remove green check mark on items when o
Lawson S3 HR/Payroll/Benefits
Pay Rate History to Show All Positions
2/26/2025 3:34 PM
Does anyone know how to modify payratehistory.htm
Infor CloudSuite
How to build a Pre-Prod tenant
2/7/2025 1:28 AM
After we finished our implementation and ended our
Lawson S3 Procurement
Browser issue with RQC Shopping
1/28/2025 5:49 PM
Since the recent Chrome/Edge updates, our RQC shop
Lawson S3 Procurement
S3-Procurement New Company
1/22/2025 10:38 PM
My Accounting Department has created a new Company
S3 Customization/Development
JUSTIFIED RIGHT
1/15/2025 7:41 PM
Is there a way in Lawson COBOL to make a character
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1375
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Infor / Lawson Platforms
S3 Systems Administration
Interfacing batch command files with PRTDEF
Please
login
to post a reply.
4 Replies
0
Subscribed to this topic
27 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
ArthurThum
Advanced Member
Posts: 25
4/12/2012 1:04 AM
Does anyone know how to interface information such as JOBID, Print File name and path and USERID to a batch command file through a printer definition PRTDEF so I can identify, find and process Lawson reports in another system? My thoguhts were to set up a generic print definition and pass through it to a script, the JOB ID, USER ID Step and file name so I could pick up the file at print time and send it to an external system. Can I pass this information or acquire it somehow on the PRTDEF? or pass it to the script somhow when I print?
ArthurThum
Advanced Member
Posts: 25
4/13/2012 2:15 AM
Split
OK lets try this since noone bit at this. On the PRTDEF command how can the USERID and FILENAME be passed to a command on the PRTDEF?
SP
Veteran Member
Posts: 122
4/13/2012 1:35 PM
Split
What are you trying to accomplish? Take PRTDEF out the picture for a
moment and describe to us the business problem you are trying to solve. I
can only speak for myself, but your original post is a bit confusing.
On Thu, Apr 12, 2012 at 10:29 PM,
wrote:
> [image: LawsonGuru.com Logo] <
https://www.lawsonguru.com/
> S3 Systems
> Administration Forum Notification A message was posted to a thread you
> are tracking. *RE: Interfacing batch command files with PRTDEF* Posted by:
> *aathum*
> 04/12/2012 09:15 PM OK lets try this since noone bit at this. On the
> PRTDEF command how can the USERID and FILENAME be passed to a command on
> the PRTDEF?
> ------------------------------
>
> To view the complete thread and reply via your browser, please visit:
>
>
https://www.lawsonguru.co...d-files-with-prtdef/
>
> You were sent this email because you opted to receive email notifications
> when someone posted and/or responded to a message on this forum.
> To unsubscribe to this thread please visit your user profile page and
> change your subscription options.
>
> Thank you,
> LawsonGuru.com
>
ArthurThum
Advanced Member
Posts: 25
4/14/2012 11:31 AM
Split
All right, Lets try something a little less obtuse.
1. Take a print file from the print manager. Any file out there
2. Direct it to a third party spooling application. Doc Express is not and will not be installed or considered.
3. The file can be spooled to this third party app using a command line command lpr.
4. This command requires an IP address, filename and a couple of parms that are recognized by the third party app to spool to a particular printer, select forms etc.. Just one command and pretty simple.
5. The number of possible destinations and permutations of print file to forms or locations might be prohibitive to set up a printer definition for each one of the possibilities.
So how do I get a print file from print manager, identify the file and its location and send it to an lpr command at the time of printing? PORTAL and LID
Hope this clarifies it for you a little bit more. Thanks for responding.
JimY
Veteran Member
Posts: 510
7/29/2013 10:52 PM
Split
Just curious. Did you ever get this resolved? I am trying to execute an lpr command in a script from Lawson Print Manager and it is throwing errors that scroll to fast so I can't see them. The script works fine from the command line. Thank you.
Please
login
to post a reply.