Frontend printing immediatelly

Hi,
I have a problem with my MiniSAP system. I am not able to print immediately on my loacal printer with LOCL and SWIN in SPAD.
The only way to use it: Restart frontend printing in SP01.
Thanks

Hi,
Are you trying to print immediately via Frontend with LOCL from a background job? This is not possible as there is no connection to the Frontend GUI when running a background job.(See SAP note 128105, section 3.c) If you want to use a windows device type like SAPWIn or SWIN from a background job, you need to define an output device with Access Method S with the printer defined in a windows print server running SAPSprint.(see SAP note 894444)
Regards,
Aidan

Similar Messages

  • Frontend printing from bypass tray

    Dear Experts,
    We have the following requirements:
    We have a smartform printed from customized program that will print product information (material number, batch number, and description). The requirement from the users is such that the printout should come from the Bypass Tray of the printer - LOCL which is the frontend printer.
    So far, what we have tried unsuccesfully so far are:
    1. Change the printer's preference (in the Windows setting) such that paper source is from the Bypass Tray.
    2. Create a new page format (default printout from Bypass Tray) and use this new page format in the form.
    I would greatly apprecieate it if anybody that has had this requirement before, would be willing to share your experience on how to solve this issue.
    Thank you and Have a Nice Day.

    Something to do with printer driver.

  • Frontend printing using SAPsprint

    Currently we are using frontend printing using SAPlpd. This method is not recommended anymore and we have issues with it. So we would like to use SAPsprint instead.
    Here is a typical scenario:
    1- Web AS running on a UNIX box in location A
    2- SAP GUI on Windows XP in location B
    3- Print server running Windows 2003 server in location B
    My question is: where should we install SAPsprint? What needs to be changed on Web AS? Do we still need SAPlpd on Windows XP workstations?
    Cheers,
    Masoud

    Hello Masoud,
       Our implementation has SAPSprint running on our CI which then routes the job to our Windows print server that has all the printers defined and shared.  We do not have SAPSprint installed on each workstation.  SAPLPD will still run via the SAP GUI if the user selects the local print option which means that it will use the devices attached to that workstation directly.  The SAPLPD that is used locally is part of our GUI install and is valid to use in conjunction with SAPSprint (for server based printing).
    Example Output Device in SAP:
    DeviceAttributes Tab
    Device Type              ZHPLJ4 ZHPLJ4   : HP Laserjet 4 serie
    Spool Server             r3ciserver_P01_00                     
    Server Description                                           
    Host                     r3ciserver                            
    Device Class              Standard printer                   
    Access Method Tab
    Host Spool Access Method C C: Direct operating system
    Host printer            
    printserver\mis          ***Windows Print Server***     
    Host Name                r3ciserver                 ***Central Instance***      
    Hope that helps you some,
    Thomas

  • How to enable frontend printing using Adobe Print Forms

    Otto Gold at the forum "SAP Interactive Forms by Adobe" gave me the tip that Sandra Rossi in this forum might help me out. Here is the link to my original thread How to enable frontend printing using Adobe Print Forms
    My question was:
    Hi Experts!
    Did anyone of you manage to enable frontend printing using Adobe Print Forms? In order to save administration effort we use frontend printing in our ERP system. We just changed some SMARTFORMS to the new Adobe Forms technology. Now we learned that direct frontend printing does not work with these forms.
    Any help will be very much appreciated.
    Kind Regards,
    Gerald

    I think you'll be disappointed by a rather negative answer but I'll try to explain everything I know (or think I know) the best I can
    The simplest solution is to do a preview, and print from Adobe Reader! (as I could see on one project, users have to display one more dialog than usually to print) It's the best workaround according to me.
    How Adobe form printing works:
    When you print an Adobe form from SAP, a printer language (PCL, PS, ZPL, PDF) is retrieved from TSP0B table according to the device type, ADS (Adobe Document Services, installed in the SAP java stack) is then contacted to generate the form: a file corresponding to the printer language is generated and sent back to SAP (there are also 2 other little files but it's of none interest here). SAP stores it as a file (named SPOOL...) in the global directory (DIR_GLOBAL when you use AL11 transaction).
    When you ask SAP to print it, it sends the file as is to the printer.
    Note: when you ask SAP to display the spool, SAP sends a request to ADS which will send back a PDF (binary stream which is not stored on disk, just displayed on frontend).
    How frontend printing works:
    If you want to print a normal spool via frontend, SAP doesn't know the language of the printer you will choose. SAP sends the spool in a format named SAPWIN to a frontend program named SAPLPD, it converts the SAPWIN format into GDI, a Windows format that is understood by all printer drivers, and it is sent to the printer driver (you have selected) which converts the GDI format into the printer language.
    Any workaround?
    First possibility would be that ADS converts the PDF into SAPWIN format (by creating an Adobe .XDC file at the ADS side). SAP says it's not possible in Note 685571 - Printing PDF-based forms. As I understand, SAPWIN is a very simple language compared to PCL for example, so it is very difficult to convert a PDF to SAPWIN without losing much information. There's a SAP note about the SAPWIN language if you want to check.
    Second possibility is to print directly the PDF through Adobe Reader: you get the PDF from ADS, download it to the frontend (easy), and execute directly Adobe Reader print function. Unfortunately, I don't know if it's possible. Moreover, we should enhance the standard SAP print dialog...
    Third possibility is the one I recommended at the beginning of this post

  • Frontend printing issue

    Hi,
    In our SRM system there is background job runs ZPRINT_PO which runs successfully but it gives the spool request which shows status "waiting".When i double click on status it shows me Status text "Frontend unavailable".
    If I try to re-print this manualy than it shows in completed status.
    Can anybody please suggest on this....
    Regards,
    Manish

    Hello Manish,
    it seems that you try to print the spool in background and that your printer is a frontend printer with the 'Host spool access method F: printing on Front End Computer' (in transaction SPAD).
    This doesn't work as far as I know. You have to provide a printer with an other Host spool access method, e.g. C or S or U).
    Printing on a frontend printer means that the SAP System can <b>reach</b> the Frontend (the PC), this is not guaranteed. Perhaps you turn off your PC and then the background job can't reach your frontend.
    Hope that helps,
    Michael

  • Frontend Printing Html Browser

    Hello, after upgrade to basis 7.0 and switching to the integrated ITS we have problems with frontend printing via html Gui.
    I configured Frontend Printing with the aid of sapnote 771683. Sapnote 957292 is fullfilled, also sapnote 1106643.
    When i use the print option, a new Browser window obens with a list of spool requests. Iam supposed to select one. When i do this a message
    File Not Available: /usr/sap/P03/SYS/global/0013kc3F.P03 appaers
    But: on the Application Server the file exists.
    It doesnt work with IE an Firefox. Other PDF are shown and printed without problem (e.g. pdf from sapnet) from Browser
    Any ideas???
    Greetings
    Andreas

    it was an authorisation Problem

  • Frontend Printing Using Access Method G - Properties

    I am looking for some light on Frontend printing using access method G. I am using ERP 4.7 on Windows 2000 and SQL 2000. We are using access method G to print and when users get the pop up dialog to print, the properties and the cancel options are grayed out. The printers are already define in all of our SAP systems. We are using the latest Kernel 640 and patch level 247 as well as sapgui 7.10 with patch 15.
    Thanks for your help in advance

    Hi,
    Check below link:
    http://help.sap.com/saphelp_tm60/helpdata/en/42/dd174f02302cede10000000a1553f7/content.htm
    Thanks
    Sunny

  • How do I configure a Frontend Printer for User type - Communication "C"

    Hi,
    Inorder to facilitate the business process in our company we have assigned (using T.code OMJ3) 2 Storage locations to print the material documents to the front end printer whenever a GR or GI/GT is performed.
    Recently we implemented a project, to perform a GR (movement type 505) using dotnet application, which connects to SAP R/3 using a Login Id with user type "C" (communication). The material documents cannot be printed as the system is searching for a frontend printer. If we assign a particular Printer we are able to print, but this does not help our business process effectively.
    Can we configure to print the material document on the front end printer?  Assumed that fronted printer cannot be configured to this user type and we tried to use the T.code OMJ4 to assign the user group, but did not work. The output determination was always pointing to the frontend printer and the spool is in "waiting" status.
    Please suggest how can we configure so that at the same storage location, we should be able to use the frontend printer by user type dialog or communication.
    Or any alternate way of doing this.
    Thanks
    Nithin

    Firefox Orange Button > Preferences > Preferences > Application
    Search for the ".indd file" and change the option

  • Frontend printing immediately

    Hi,
    I have a problem with my MiniSAP system. I am not able to print immediately on my loacal printer with LOCL and SWIN in SPAD.
    The only way to use it: Restart frontend printing in SP01.
    Thanks

    Hi,
    Welcome you on board. You have posted 3 questions on 3 different forums. That is a smart action. However, this forum is only for SAP Business One user. Please close your thread.
    Thanks,
    Gordon

  • Frontend printing method G question.

    Hi All,
    is it possible to print on frontend workstation using method "G" but bypassing windows printer selection dialog box?
    Thanks in advance.
    Jacek

    Check out SAP Note # 938965.  I think it might solve your problem: 
    <i>Printer checkbox can be deactivated with access method "G" You want to be able to deactivate the printer checkbox with access method "G". For this purpose, you have to select the checkbox for the non-selection of devices on the front end when defining the printer in Transaction SPAD.</i>
    Regards,
    John

  • How to choose frontend printer?

    Dear All.
         When I print the form, It is always printed via default printer, I want it is printed via which is chose by user, how can i do for it? Thanks in adv.

    Hi,
    Use this FM to capture the print parameters...This will give the pop up screen to take the user input for the printer..Later the same can be passed to the print program call...
    GET_PRINT_PARAMETERS
    Hope this helps
    Regards
    Shiva

  • Issues with printing purchase order

    Dear friends,
    I'm having some issues with printing purchase orders.
    Normally when I create a purchase order via ME21N and then when I save the purchase order it then gets automatically printed.
    Suddenly it is not anymore working. I have created a purchase order this morning and it did not get printed. I get the message "frontend is not available"when i check the spool in SP01
    The funny think is if i call up the spool nr via SP01and then do a reprint then i'm able to reprint.
    What can be possibly the issue that I can't print the purchase order when I create the purchase order via ME21 when I save the purchase order? Can you help me with any guide on where I need to check why the PO is not printing immediatelly when i create the PO via ME21N?
    kind regards,
    Camilla

    hello all,
    thanks so far for your reply.
    i have checked today my user settings and that shows that my prints should go to LOCL (local default printer)
    The output conditions fpr purchase order have also LOCL (local printer)
    The weird thing is that I can print other reports to the default printer without any issues. The issue arise when I create a purchase order via ME21N. Normally when I save the PO it automatically prints. So no manual print instructions are required from my side. Because if I give manual instructions then I'm able to print the purchase order.
    Is it possible that the automatic printing is switched off and that it only prints when I hit manually the print button?
    Is the automatic printing something that is maintained in SPAD?
    kind regards and thanks for your help sofar

  • Printer setup when SMARTFORM is printing

    Hello guys.
    I have a problem with smartform printing, when I make it, there is screen with printing input parameters like OutputDevice, Copies, Page selection, Print immediatelly etc. All of this parameters are stored in SSFCOMPOP structure, but there is no information about Frontend printer...
    Frontend printer option I can confugure by RSPO_FRONTEND_PRINTERS_FOR_DEV fm, but there is a problem, how can I "send" it to smartform?
    Thanks in advance.
    Daniel

    Any network printer can be defined as a SAPprinter and choose as output device.
    And I know examples of output mailed as PDF:s instead of printed.
    Sorry, but I don't know any way to choose LOCL printer in SAP as output device and then decide which PC printer I want to use.
    Regards
    Åsa Thenstedt

  • Print process deadlock

    Hi All,
    <br/>
    <br/>We are now facing some problems on our smartform printing programs, sometimes some of the smartform programs look getting stuck, from SM50, the processing time is endless, and from the detailed tracing log, there are repeated messages like below for every ONE MINUTE:
    <br/>I  WARNING: MtxLock 0x70000000636197c rrol0046 owner=33 deadlock ?
    <br/>
    <br/>I've searched the forum and also did google and SAP notes but can not get useful information match with my error, so could anyone please help to analyse what exact cause of this problem? Any suggestions is highly appreciated.
    <br/>
    <br/>The smartform program itself is simple and correct, just has one header and several items and uses normal SSF_FUNCTION_MODULE_NAME and CALL FNAME to do the print work, in most of time it works correct, but sometimes it just has problem and then the deadlock error occurred. I guess maybe it's because user tried to print too fast than the capability of the printer and then user canceled the job, then in some situations, the upcoming printing jobs get blocked and then get stuck, but it's just a guess, i've no proof to identify it.
    <br/>
    <br/>Here I attached the full trace log, hope someone could give me a idea, thank you very much!
    <br/>
    <br/>----
    <br/>trc file: "dev_w38", trc level: 1, release: "701"
    <br/>----
    <br/>M Thu Dec  9 14:03:55 2010
    <br/>M  db_connect o.k.
    <br/>M  ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip
    <br/>I  MtxInit: 38 0 0
    <br/>M  SHM_PRES_BUF               (addr: 0x700001050000000, size: 44000000)
    <br/>M  SHM_ROLL_AREA          (addr: 0x700001060000000, size: 536870912)
    <br/>M  SHM_PAGING_AREA          (addr: 0x700001080000000, size: 536870912)
    <br/>M  SHM_ROLL_ADM               (addr: 0x700000006221000, size: 5506336)
    <br/>M  SHM_PAGING_ADM          (addr: 0x7000010a0000000, size: 1311776)
    <br/>M  ThCreateNoBuffer          allocated 544152 bytes for 1000 entries at 0x7000010b0002000
    <br/>M  ThCreateNoBuffer          index size: 3000 elems
    <br/>M  ThCreateVBAdm          allocated 11776 bytes (50 server) at 0x7000010d0000000
    <br/>X  EmInit: MmSetImplementation( 2 ).
    <br/>X  MM global diagnostic options set: 0
    <br/>X  EM/TOTAL_SIZE_MB = 262144
    <br/>X  mm.dump: set maximum dump mem to 96 MB
    <br/>M  Deactivate statistics hyper index locking
    <br/>I  *** INFO  Shm 44 in Pool 40    18928 KB estimated     14500 KB real (   -4427 KB    -24 %)
    <br/>I  *** INFO  Shm 45 in Pool 40    12928 KB estimated      8500 KB real (   -4427 KB    -35 %)
    <br/>B  dbntab: NTAB buffers attached
    <br/>B  dbntab: Buffer FTAB(hash header)  (addr: 0x7000010b0088088, size: 584)
    <br/>B  dbntab: Buffer FTAB(anchor array) (addr: 0x7000010b00882d0, size: 1280008)
    <br/>B  dbntab: Buffer FTAB(item array)   (addr: 0x7000010b01c0ad8, size: 5120000)
    <br/>B  dbntab: Buffer FTAB(data area)    (addr: 0x7000010b06a2ad8, size: 122880000)
    <br/>B  dbntab: Buffer IREC(hash header)  (addr: 0x7000010b7bd4088, size: 584)
    <br/>B  dbntab: Buffer IREC(anchor array) (addr: 0x7000010b7bd42d0, size: 1280008)
    <br/>B  dbntab: Buffer IREC(item array)   (addr: 0x7000010b7d0cad8, size: 1280000)
    <br/>B  dbntab: Buffer IREC(data area)    (addr: 0x7000010b7e452d8, size: 12288000)
    <br/>B  dbntab: Buffer STAB(hash header)  (addr: 0x7000010b89ff088, size: 584)
    <br/>B  dbntab: Buffer STAB(anchor array) (addr: 0x7000010b89ff2d0, size: 1280008)
    <br/>B  dbntab: Buffer STAB(item array)   (addr: 0x7000010b8b37ad8, size: 1280000)
    <br/>B  dbntab: Buffer STAB(data area)    (addr: 0x7000010b8c702d8, size: 6144000)
    <br/>B  dbntab: Buffer TTAB(hash header)  (addr: 0x7000010b924e088, size: 6720)
    <br/>B  dbntab: Buffer TTAB(anchor array) (addr: 0x7000010b924fac8, size: 1280008)
    <br/>B  dbntab: Buffer TTAB(item array)   (addr: 0x7000010b93882d0, size: 3200000)
    <br/>B  dbntab: Buffer TTAB(data area)    (addr: 0x7000010b96956d0, size: 23360000)
    <br/>B  db_con_shm_ini:  WP_ID = 38, WP_CNT = 59, CON_ID = -1
    <br/>B  dbstat: TABSTAT buffer attached (addr: 0x7000010f002d2d0)
    <br/>B  dbtbxbuf: Buffer TABL  (addr: 0x700001100000100, size: 180000000, end: 0x70000110aba9600)
    <br/>B  dbtbxbuf: Buffer TABLP (addr: 0x700000006763100, size: 20480000, end: 0x700000007aeb100)
    <br/>B  dbexpbuf: Buffer EIBUF (addr: 0x700000007aec108, size: 67108864, end: 0x70000000baec108)
    <br/>B  dbexpbuf: Buffer ESM   (addr: 0x700001110000108, size: 4194304, end: 0x700001110400108)
    <br/>B  dbexpbuf: Buffer CUA   (addr: 0x7000010bace2108, size: 18432000, end: 0x7000010bbe76108)
    <br/>B  dbexpbuf: Buffer OTR   (addr: 0x700001120000108, size: 4194304, end: 0x700001120400108)
    <br/>B  dbcalbuf: Buffer CALE  (addr: 0x70000000baee000, size: 500000, end: 0x70000000bb68120)
    <br/>M  CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    <br/>S  *** init spool environment
    <br/>S  TSPEVJOB updates inside critical section: event_update_nocsec = 0
    <br/>S  initialize debug system
    <br/>T  Stack direction is downwards.
    <br/>T  debug control: prepare exclude for printer trace
    <br/>T  new memory block 0x114388060
    <br/>S  spool kernel/ddic check: Ok
    <br/>S  using table TSP02FX for frontend printing
    <br/>S  1 spool work process(es) found
    <br/>S  frontend print via spool service enabled
    <br/>S  printer list size is 150
    <br/>S  printer type list size is 50
    <br/>S  queue size (profile)   = 300
    <br/>S  hostspool list size = 3000
    <br/>S  option list size is 30
    <br/>I  *** INFO  Shm 49 in Pool 40     2898 KB estimated      1632 KB real (   -1266 KB    -44 %)
    <br/>S      found processing queue enabled
    <br/>S  found spool memory service RSPO-RCLOCKS at 0x7000010bbe77070
    <br/>S  doing lock recovery
    <br/>S  setting server cache root
    <br/>S  found spool memory service RSPO-SERVERCACHE at 0x7000010bbe78160
    <br/>S    using messages for server info
    <br/>S  size of spec char cache entry: 297032 bytes (timeout 100 sec)
    <br/>S  size of open spool request entry: 2512 bytes
    <br/>S  immediate print option for implicitely closed spool requests is disabled
    <br/>A  **GENER Trace switched on ***
    <br/>A
    <br/>A  -PXA--
    <br/>A  PXA INITIALIZATION
    <br/>A  PXA: Locked PXA-Semaphore.
    <br/>A  System page size: 4kb, total admin_size: 237304kb, dir_size: 58960kb.
    <br/>A  Attached to PXA (address 0x700001130000000, size 3000000K, 4 fragments of 690676K )
    <br/>A
    <br/>A Thu Dec  9 14:03:59 2010
    <br/>A  abap/pxa = shared unprotect gen_remote
    <br/>A  PXA INITIALIZATION FINISHED
    <br/>A  -PXA--
    <br/>A
    <br/>A  ABAP ShmAdm attached (addr=0x700000f4046c000 leng=20955136 end=0x700000f41868000)
    <br/>A  >> Shm MMADM area (addr=0x700000f40915418 leng=247168 end=0x700000f40951998)
    <br/>A  >> Shm MMDAT area (addr=0x700000f40952000 leng=15818752 end=0x700000f41868000)
    <br/>A  RFC rfc/signon_error_log = -1
    <br/>A  RFC rfc/dump_connection_info = 0
    <br/>A  RFC rfc/dump_client_info = 0
    <br/>A  RFC rfc/cp_convert/ignore_error = 1
    <br/>A  RFC rfc/cp_convert/conversion_char = 23
    <br/>A  RFC rfc/wan_compress/threshold = 251
    <br/>A  RFC rfc/recorder_pcs not set, use defaule value: 2
    <br/>A  RFC rfc/delta_trc_level not set, use default value: 0
    <br/>A  RFC rfc/no_uuid_check not set, use default value: 0
    <br/>A  RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0
    <br/>A  RFC Method> initialize RemObjDriver for ABAP Objects
    <br/>M  ThrCreateShObjects          allocated 122630 bytes at 0x70000000c124000
    <br/>N  SsfSapSecin: putenv(SECUDIR=/usr/sap/PRD/DVEBMGS00/sec): ok
    <br/>N
    <br/>N  =================================================
    <br/>N  === SSF INITIALIZATION:
    <br/>N  ===...SSF Security Toolkit name SAPSECULIB .
    <br/>N  ===...SSF library is /usr/sap/PRD/DVEBMGS00/exe/libsapcrypto.o .
    <br/>N  ===...SSF default hash algorithm is SHA1 .
    <br/>N  ===...SSF default symmetric encryption algorithm is DES-CBC .
    <br/>N  ===...SECUDIR="/usr/sap/PRD/DVEBMGS00/sec"
    <br/>N  ===...loading of Security Toolkit successfully completed.
    <br/>N  ===   SAPCRYPTOLIB  5.5.5C pl29  (Jan 30 2010) MT-safe
    <br/>N  =================================================
    <br/>N  MskiInitLogonTicketCacheHandle: Logon Ticket cache pointer retrieved from shared memory.
    <br/>N  MskiInitLogonTicketCacheHandle: Workprocess runs with Logon Ticket cache.
    <br/>M  JrfcVmcRegisterNativesDriver o.k.
    <br/>W  =================================================
    <br/>W  === ipl_Init() called
    <br/>B    dbtran INFO (init_connection '<DEFAULT>' [ORACLE:700.08]):
    <br/>B     max_blocking_factor =   5,  max_in_blocking_factor      =   5,
    <br/>B     min_blocking_factor =   5,  min_in_blocking_factor      =   5,
    <br/>B     prefer_union_all    =   0,  prefer_join                 =   0,
    <br/>B     prefer_fix_blocking =   0,  prefer_in_itab_opt          =   1,
    <br/>B     convert AVG         =   0,  alias table FUPD            =   0,
    <br/>B     escape_as_literal   =   1,  opt GE LE to BETWEEN        =   0,
    <br/>B     select *            =0x0f,  character encoding          = STD / <none>:-,
    <br/>B     use_hints           = abap->1, dbif->0x1, upto->2147483647, rule_in->0,
    <br/>B                           rule_fae->0, concat_fae->0, concat_fae_or->0
    <br/>W    ITS Plugin: Path dw_gui
    <br/>W    ITS Plugin: Description ITS Plugin - ITS rendering DLL
    <br/>W    ITS Plugin: sizeof(SAP_UC) 2
    <br/>W    ITS Plugin: Release: 701, [7010.0.97.20020600]
    <br/>W    ITS Plugin: Int.version, [33]
    <br/>W    ITS Plugin: Feature set: [22]
    <br/>W    ===... Calling itsp_Init in external dll ===>
    <br/>W      PpioRecoverLocks, table: 0x700000f418f2778
    <br/>W      PpioRecoverLocks, number of file locks 256
    <br/>W      PpioRecoverLocks: file lock set to: (nil)
    <br/>W      PpioRecoverLocks: directory lock set to: (nil)
    <br/>W      PpioRecoverLocks: global lock set to: (nil)
    <br/>W      PpioRecoverLocks() done
    <br/>W      PprcRecoverLocks, table: 0x700000f418f27e8
    <br/>W      PprcRecoverLocks: directory lock set to: (nil)
    <br/>W      PprcRecoverLocks() done
    <br/>W  === ipl_Init() returns 0, ITSPE_OK: OK
    <br/>W  =================================================
    <br/>N  VSI: WP init in ABAP VM completed with rc=0
    <br/>E  Profile-Parameter: enque/deque_wait_answer = FALSE
    <br/>E  Profile-Parameter: enque/sync_dequeall = 0
    <br/>E  EnqId_SuppressIpc: local EnqId initialization o.k.
    <br/>E  EnqCcInitialize: local enqueue client init o.k.
    <br/>M  ThCheckPrevUser: previous user was T78/M0, clean counter 0
    <br/>M  ThCheckPrevUser: clean previous user T78/U26013/M0/I2/V-1
    <br/>M
    <br/>M  Modeinfo for User T78/M0
    <br/>M
    <br/>M    tm state = 4
    <br/>M    uid = 26013
    <br/>M    term type = 0x4
    <br/>M    display = 0x8
    <br/>M    cpic_no = 0
    <br/>M    cpic_idx = -1
    <br/>M    usr = >8000199     <
    <br/>M    terminal = >ceegsap20           <
    <br/>M    client = >800<
    <br/>M    conversation_ID = >        <
    <br/>M    appc_tm_conv_idx = -1
    <br/>M    its_plugin = NO
    <br/>M    allowCreateMode = YES
    <br/>M    wp_ca block = -1
    <br/>M    appc_ca block = -1
    <br/>M    blockSoftCanel = NO
    <br/>M    session_id = >4CFF77CE4A6A0068E10080000A04C87E<
    <br/>M    ext_session_id = >4CFF77CE4A6A0068E10080000A04C87E<
    <br/>M    imode = 2
    <br/>M    mode state = 0x1a
    <br/>M    mode clean_state = 2
    <br/>M    task_type = ZTTADIA
    <br/>M    lastThFc = THFCTERM
    <br/>M    lastAction = TH_IACT_NO_ACTION
    <br/>M    th_errno = 0
    <br/>M    rollout_reason = 1
    <br/>M    last_rollout_level = 7
    <br/>M    async_receives = 0
    <br/>M    cpic_receive = 0
    <br/>M    em handle = 67
    <br/>M    roll state = 3
    <br/>M    abap state = 3
    <br/>M    em state = 2
    <br/>M    eg state = 1
    <br/>M    spa state = 3
    <br/>M    enq state = 0
    <br/>M    softcancel = 1
    <br/>M    cancelInitiator = DISPATCHER
    <br/>M    clean_state = DP_SOFTCANCEL
    <br/>M    next hook = T-1/U-1/M255
    <br/>M    master hook = T-1/U-1/M255
    <br/>M    slave hook = T-1/U-1/M255
    <br/>M    debug_tid = 255
    <br/>M    debug_mode = 0
    <br/>M    mode type = 0x1
    <br/>M    debug = 0
    <br/>M    msg_count = 6
    <br/>M    tcode = >ZPP015              <
    <br/>M    last_wp = 38
    <br/>M    client conversation_ID = >        <
    <br/>M    server conversation_ID = >        <
    <br/>M    lock = 0
    <br/>M    max enq infos = 0
    <br/>M    act enq infos = 0
    <br/>M    em_hyper_hdl = 0x700000f41d918e8
    <br/>M    plugin_info = NULL
    <br/>M    act_plugin_hdl = -1
    <br/>M    act_plugin_no  = 0
    <br/>M    max_plugin_no  = 0
    <br/>M
    <br/>M  ThCheckPrevUser: reset spa state for user T78/U26013/M0
    <br/>M  ThSetDoSafeCleanup: th_do_safe_cleanup = FALSE (wanted FALSE)
    <br/>M  LOCK WP ca_blk 44
    <br/>M  ThAtWpBlk: set zttatiln to zero
    <br/>M  ThAtWpBlk: set zttatoln to zero
    <br/>M  DpVmcGetVmByTmAdm: no VM found for T78/M0/I2
    <br/>M  LOCK APPC ca_blk 640
    <br/>M  set task type ZTTADIA
    <br/>M  ThCleanPrevUser: clean U26013 T78 M0 I2 no VM clean state DP_SOFTCANCEL clean counter 1
    <br/>M  ThCleanPrevUser: saved MODE_REC = 10
    <br/>M  PfStatDisconnect: disconnect statistics
    <br/>M  ThCleanPrevUser: found soft cancel flag
    <br/>M  ThSoftCancel: set clean state of T78/M0 to DP_DEFAULT_CLEANING
    <br/>M  ThSoftCancel session in state TM_DISCONNECTED, delete mode
    <br/>M  ThIAMDel: delete tid/mode 78/0 (th_errno 47, release 1)
    <br/>M  ThIDeleteMode (78, 0, 3, ><, 0, 255, TRUE)
    <br/>M  ThIDeleteMode: no modes found ..
    <br/>M    no sub modes
    <br/>M  ThCheckMemoryState (0, 0, 1)
    <br/>M  ThRollIn: roll in T78/U26013/M0/I2 (level=7, abap_level=1, attach_em=1)
    <br/>M  ThCheckEmState: check ATTACH for em hdl 67
    <br/>M  ThCheckEmState: call EmContextAttach (em_hdl=67)
    <br/>I Thu Dec  9 14:05:00 2010
    <br/>I  WARNING: MtxLock 0x70000000636197c rrol0046 owner=33 deadlock ?
    <br/>I Thu Dec  9 14:06:00 2010
    <br/>I  WARNING: MtxLock 0x70000000636197c rrol0046 owner=33 deadlock ?
    <br/>I Thu Dec  9 14:07:00 2010
    <br/>I  WARNING: MtxLock 0x70000000636197c rrol0046 owner=33 deadlock ?
    <br/>I Thu Dec  9 14:08:00 2010
    <br/>I  WARNING: MtxLock 0x70000000636197c rrol0046 owner=33 deadlock ?

    Hi Sitarama,
    <br/>
    <br/>Thanks very much for your fast reply. Yes, the smartforms are custom-built. Besides the deadlock error, there still has some errors in SP01 says "Could not pass request to host spool system". But it previews wonderfully in SP01. The detailed SP01 error log is like below:
    Print request processing log
    Errors occurred processing this print request
    Error during print request output. l_rc = 99
    There may be no printout
    Most important attributes of spool request
    Request number 2828
    Request name SMART  LOCA 8000199
    Client 800
    Owner 8000199
    Request attributes
    Time created   2010120906014800
    Remaining life  +00007235800
    Dispo 1 (Go/Hold) G
    Dispo 2 (Keep/Delete)     D
    Dispo 3 (Indirect/Direct) D
    Default output device LOCA
    Default no. copies  1
    Format ZTEST
    Main print request characteristics
    Spool request number 2828
    Print request number 1
    Print request attributes
    Time created   2010120906020500
    Output device LOCA
    Format ZTEST
    What do you mean parallel processing on table level? The smartforms extract data from different SAP tables and then transfer to smartform interface, then they can added in form pages. Do you think this results parallel processing towards tables?
    <br/>
    Thank you and hope to hear more from you.
    Best Regards,
    Jeff

  • Printing in blank on linux

    My application use Java Print Service, prints well in windows, but in linux it only prints blank.
    Please Help me !!!
    This is example code
    import java.awt.geom.*;
    import java.awt.font.*;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import java.awt.print.PrinterJob;
    import java.awt.event.*;
    import java.awt.*;
    import java.awt.print.*;
    import javax.print.attribute.HashPrintRequestAttributeSet;
    import javax.print.attribute.PrintRequestAttributeSet;
    public class ShapesPrint extends Panel implements Printable, ActionListener {
         final static Color bg = Color.white;
         final static Color fg = Color.black;
         final static Color red = Color.red;
         final static Color white = Color.white;
         final static BasicStroke stroke = new BasicStroke(2.0f);
         final static BasicStroke wideStroke = new BasicStroke(8.0f);
         final static float dash1[] = { 10.0f };
         final static BasicStroke dashed = new BasicStroke(1.0f,
                   BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER, 10.0f, dash1, 0.0f);
         final static Button button = new Button("Print");
         public ShapesPrint() {
              setBackground(bg);
              button.addActionListener(this);
         public void actionPerformed(ActionEvent e) {
              if (e.getSource() instanceof Button) {
                   PrinterJob printJob = PrinterJob.getPrinterJob();
                   PrintRequestAttributeSet pg = new HashPrintRequestAttributeSet();
                   printJob.setPrintable(this);
                   if (printJob.printDialog(pg)) {
                        try {
                             printJob.print(pg);
                        } catch (Exception PrintException) {
                             PrintException.printStackTrace();
         public void paint(Graphics g) {
              super.paint(g);
              Graphics2D g2 = (Graphics2D) g;
              drawShapes(g2);
         public void drawShapes(Graphics2D g2) {
              Dimension d = getSize();
              int gridWidth = 400 / 6;
              int gridHeight = 300 / 2;
              int rowspacing = 5;
              int columnspacing = 7;
              int rectWidth = gridWidth - columnspacing;
              int rectHeight = gridHeight - rowspacing;
              Color fg3D = Color.lightGray;
              g2.setPaint(fg3D);
              g2.drawRect(80, 80, 400 - 1, 310);
              g2.setPaint(fg);
              int x = 85;
              int y = 87;
              //draw Text Layout
              FontRenderContext frc = g2.getFontRenderContext();
              Font f = new Font("Times", Font.BOLD, 24);
              String s = new String("24 Point Times Bold");
              TextLayout tl = new TextLayout(s, f, frc);
              g2.setColor(Color.green);
              tl.draw(g2, x, y - 10);
              // draw Line2D.Double
              g2.draw(new Line2D.Double(x, y + rectHeight - 1, x + rectWidth, y));
              x += gridWidth;
              // draw Rectangle2D.Double
              g2.setStroke(stroke);
              g2.draw(new Rectangle2D.Double(x, y, rectWidth, rectHeight));
              x += gridWidth;
              // draw  RoundRectangle2D.Double
              g2.setStroke(dashed);
              g2
                        .draw(new RoundRectangle2D.Double(x, y, rectWidth, rectHeight,
                                  10, 10));
              x += gridWidth;
              // draw Arc2D.Double
              g2.setStroke(wideStroke);
              g2.draw(new Arc2D.Double(x, y, rectWidth, rectHeight, 90, 135,
                        Arc2D.OPEN));
              x += gridWidth;
              // draw Ellipse2D.Double
              g2.setStroke(stroke);
              g2.draw(new Ellipse2D.Double(x, y, rectWidth, rectHeight));
              x += gridWidth;
              // draw GeneralPath (polygon)
              int x1Points[] = { x, x + rectWidth, x, x + rectWidth };
              int y1Points[] = { y, y + rectHeight, y + rectHeight, y };
              GeneralPath polygon = new GeneralPath(GeneralPath.WIND_EVEN_ODD,
                        x1Points.length);
              polygon.moveTo(x1Points[0], y1Points[0]);
              for (int index = 1; index < x1Points.length; index++) {
                   polygon.lineTo(x1Points[index], y1Points[index]);
              polygon.closePath();
              g2.draw(polygon);
              // NEW ROW
              x = 85;
              y += gridHeight;
              // draw GeneralPath (polyline)
              int x2Points[] = { x, x + rectWidth, x, x + rectWidth };
              int y2Points[] = { y, y + rectHeight, y + rectHeight, y };
              GeneralPath polyline = new GeneralPath(GeneralPath.WIND_EVEN_ODD,
                        x2Points.length);
              polyline.moveTo(x2Points[0], y2Points[0]);
              for (int index = 1; index < x2Points.length; index++) {
                   polyline.lineTo(x2Points[index], y2Points[index]);
              g2.draw(polyline);
              x += gridWidth;
              // fill Rectangle2D.Double (red)
              g2.setPaint(red);
              g2.fill(new Rectangle2D.Double(x, y, rectWidth, rectHeight));
              g2.setPaint(fg);
              x += gridWidth;
              // fill RoundRectangle2D.Double
              GradientPaint redtowhite = new GradientPaint(x, y, red, x + rectWidth,
                        y, white);
              g2.setPaint(redtowhite);
              g2
                        .fill(new RoundRectangle2D.Double(x, y, rectWidth, rectHeight,
                                  10, 10));
              g2.setPaint(fg);
              x += gridWidth;
              // fill Arc2D
              g2.setPaint(red);
              g2.fill(new Arc2D.Double(x, y, rectWidth, rectHeight, 90, 135,
                        Arc2D.OPEN));
              g2.setPaint(fg);
              x += gridWidth;
              // fill Ellipse2D.Double
              redtowhite = new GradientPaint(x, y, red, x + rectWidth, y, white);
              g2.setPaint(redtowhite);
              g2.fill(new Ellipse2D.Double(x, y, rectWidth, rectHeight));
              g2.setPaint(fg);
              x += gridWidth;
              // fill and stroke GeneralPath
              int x3Points[] = { x, x + rectWidth, x, x + rectWidth };
              int y3Points[] = { y, y + rectHeight, y + rectHeight, y };
              GeneralPath filledPolygon = new GeneralPath(GeneralPath.WIND_EVEN_ODD,
                        x3Points.length);
              filledPolygon.moveTo(x3Points[0], y3Points[0]);
              for (int index = 1; index < x3Points.length; index++) {
                   filledPolygon.lineTo(x3Points[index], y3Points[index]);
              filledPolygon.closePath();
              g2.setPaint(red);
              g2.fill(filledPolygon);
              g2.setPaint(fg);
              g2.draw(filledPolygon);
         public int print(Graphics g, PageFormat pf, int pi) throws PrinterException {
              if (pi >= 1) {
                   return Printable.NO_SUCH_PAGE;
              Graphics g2 = button.getGraphics();
              button.printAll(g2);
              drawShapes((Graphics2D) g);
              return Printable.PAGE_EXISTS;
         public static void main(String s[]) {
              WindowListener l = new WindowAdapter() {
                   public void windowClosing(WindowEvent e) {
                        System.exit(0);
                   public void windowClosed(WindowEvent e) {
                        System.exit(0);
              Frame f = new Frame();
              f.addWindowListener(l);
              Panel panel = new Panel();
              f.add(BorderLayout.SOUTH, panel);
              f.add(BorderLayout.CENTER, new ShapesPrint());
              panel.add(button);
              f.add(BorderLayout.SOUTH, panel);
              f.setSize(580, 500);
              f.show();
    }

    Hi,
    Make sure that you have printer has been installed properly on your linux desktop.
    On SAP, using SPAD tcode, you can set output device using access method G : Frontend printing with control technologie. This is easiest way.
    You can also use access method S or U for better printing method. Please refer to my blog posting here (http://sapbasis.wordpress.com/2007/08/23/print-sap-documents-using-linux/)
    ardhian
    http://sapbasis.wordpress.com

Maybe you are looking for

  • Why did you get rid of the track option in ALL Revel apps?

    I am a subscribed Revel user that was once happy with what Revel offered but NOT anymore.  I organize my photos inside albums by events.  Why?  Because that is the ONLY organization available from Revel without creating thousands of albums.  So why d

  • Transaktion s_alr_87012197 (List of Customer Line Items

    Hallo Experts, does any body know how to add new fields from SD (VKORG, VTWEG, ERNAM, VKGRP) to the Report RFDEPL00 using BTE or other Enhancment methods? I copied the Report and added this fields. It worked. But I would like to know how to do it wit

  • Tracking a requested image

    I have an image on our webserver I'm using for tracking purposes. I was wondering is it possible to set up a program running along the webserver to listen out for when the image has been requested. Also would it possible to retrieve the request attri

  • Slow start up, slow start up

    So i have the 2011 mac pro just 3 months old realy fast, lately ive been getting a slow start up. Im doing music using garageband for now, lots of tracks sometimes im doing 12 tracks at once. Can this slow me up? What do i need to do or get to mantai

  • What happened to File Save & Save as ?

    I'm new to LR & so far my workflow has stalled. Edits I just want to be able to rename & save .......Export is a minefield. I get file names with Edit - Edit suffixes in LR that are not what I am after. I just want to be able to crop, straighten & mi