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:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
426
Members:
0
Total:
426
Online Now:
New Topics
User Group Announcements
Carolina User Group Meeting
12/20/2024 3:15 PM
Date & Time: February 6, 2025, 8:30am - 4:00pm
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
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
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
1372
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
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
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
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
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.