Skip to main content

Conas gach ceangaltán a phriontáil i ríomhphost amháin / iolrach in Outlook?

Mar is eol duit, ní dhéanfaidh sé ach an t-ábhar ríomhphoist ar nós ceanntásc, comhlacht a phriontáil nuair a chliceálann tú an Comhad > Print i Microsoft Outlook, ach gan na ceangaltáin a phriontáil. Taispeánfaimid duit anseo conas gach ceangaltán a phriontáil i r-phost roghnaithe ar a suaimhneas i Microsoft Outlook.


Priontáil gach ceangaltán i dteachtaireacht ríomhphoist amháin ceann ar cheann

Soláthraíonn Microsoft Outlook dúinn Priontáil Thapa gné, a chabhróidh leat ceangaltáin a phriontáil i dteachtaireacht ríomhphoist ceann ar cheann.

1. Roghnaigh an teachtaireacht ríomhphoist a phriontálfaidh tú a ceangaltáin níos déanaí.

2. Cliceáil ceangaltán amháin sa ríomhphost seo.

3. Cliceáil ar an Priontáil Thapa cnaipe sa gníomhartha grúpa ar an Ceangaltáin Tab.

Nóta: an Uirlisí Ceangail ní chuirfear i ngníomh é go dtí go gcliceálann tú ceangaltáin i ríomhphoist.

4. Tagann dialóg Oscailte Ceangaltán Ríomhphoist amach, agus cliceáil le do thoil ar an Oscail cnaipe.

Tabhair faoi deara le do thoil go n-osclóidh an chéim seo an ceangaltán roghnaithe, agus priontálfaidh sé an ceangaltán roghnaithe seo ag an am céanna.

Chun ceangaltáin eile a phriontáil sa ríomhphost seo, déan Céim 2 go Céim 4 arís.

Sábháil / easpórtáil go tapa gach ceangaltán ó iliomad ríomhphoist in Outlook

De ghnáth is féidir linn ceangaltáin a shábháil ó r-phost amháin trí na Uirlisí Ceangail agus an Sábháil Gach Ceangaltán gné in Outlook. Ach, más rud é go sábhálfaidh tú ceangaltáin ó iliomad ríomhphoist, nó ón bhfillteán ríomhphoist iomlán in Outlook? Bain triail as Kutools for Outlook's Sábháil Gach Gné (Ceangaltáin).


ceangaltáin a shábháil i ríomhphoist iolracha kto9

Priontáil baisc gach ceangaltán in aon teachtaireacht ríomhphoist amháin

Má tá go leor ceangaltán sa teachtaireacht ríomhphoist amháin, beidh sé am-íditheach iad a phriontáil ceann ar cheann. Agus beidh an modh seo a leanas ag siúl leat trí phriontáil bhaisc gach ceangaltán i dteachtaireacht ríomhphoist roghnaithe go héasca.

1. Roghnaigh an teachtaireacht ríomhphoist a phriontálfaidh tú a ceangaltáin níos déanaí.

2. In Outlook 2010 nó leaganacha níos déanaí, cliceáil ar an Comhad > Print > Roghanna Priontála. Féach an pictiúr seo a leanas:

3. Sa bhosca dialóg Priontáil, seiceáil le do thoil an Priontáil comhaid ceangailte. Ní phriontálfar ceangaltáin chuig an printéir réamhshocraithe amháin rogha sa Roghanna priontála alt seo.

4. Cliceáil ar an Print cnaipe.

5. Sa bhosca dialóige Ceangal Ríomhphoist Oscailte, cliceáil ar an Oscail cnaipe le dul ar aghaidh. (nótaí: Taispeánfaidh an bosca dialóige seo gach ceangaltán ar leithligh.)

Anois, déanfar gach ceangaltán sa teachtaireacht ríomhphoist roghnaithe seo a phriontáil láithreach.


Baisc phriontáil gach ceangaltán agus pictiúir i ríomhphoist roghnaithe iolrach

Chun gach ceangaltán a phriontáil i ríomhphoist iomadúla chomh maith leis na pictiúir go léir sa chomhlacht teachtaireachta in Outlook, le do thoil lean na céimeanna thíos chun cód VBA a chur i bhfeidhm.

1. Sa liosta seoltaí, coinnigh le do thoil Ctrl or Shift eochracha chun ríomhphoist iolracha a roghnú a phriontálfaidh tú a gceangail.

2. Brúigh Eile + F11 eochracha le chéile chun an fhuinneog Microsoft Visual Basic for Applications a oscailt.

3. I bhfuinneog Microsoft Visual Basic for Applications, cliceáil uirlisí > tagairtí. Agus ansin seiceáil an Microsoft Scripting Runtime rogha mar a thaispeántar thíos. Nuair a bheidh sé críochnaithe, cliceáil OK.

4. Cliceáil Ionsáigh > Modúil, agus ansin greamaigh faoi bhun chód VBA isteach i bhfuinneog an mhodúil nua.

VBA: Priontáil gach ceangaltán i iliomad ríomhphoist Outlook

Sub PrintAllAttachmentsInMultipleMails()
  'Update by ExtendOffice 2022/08/03
  Dim xShellApp As Object
  Dim xFSO As Scripting.FileSystemObject
  Dim xItem As Object
  Dim xTempFldPath, xFilePath As String
  Dim xSelItems As Outlook.Selection
  Dim xMailItem As Outlook.MailItem
  Dim xAttachments As Outlook.Attachments
  Dim xAttachment As Outlook.Attachment
  Dim xFile As File
  On Error Resume Next
  Set xFSO = New Scripting.FileSystemObject
  xTempFldPath = xFSO.GetSpecialFolder(2).Path & "\Attachments " & Format(Now, "yyyymmddhhmmss") 'xFSO.GetSpecialFolder(2) For saving temporary files
  If xFSO.FolderExists(xTemfldpath) = False Then 'create temporary folder
    xFSO.CreateFolder (xTempFldPath)
  End If
  Set xSelItems = Outlook.ActiveExplorer.Selection
  Set xShellApp = CreateObject("Shell.Application")
  For Each xItem In xSelItems
    If xItem.Class = OlObjectClass.olMail Then
      Set xMailItem = xItem
      Set xAttachments = xMailItem.Attachments
      For Each xAttachment In xAttachments
        xFilePath = xTempFldPath & "\" & xAttachment.FileName
        xAttachment.SaveAsFile (xFilePath)
      Next
    End If
  Next
  For Each xFile In xFSO.GetFolder(xTempFldPath).Files
    VBA.DoEvents
    Call xShellApp.ShellExecute(xFile.Path, "", "", "print", 0)
  Next
  Set xSelItems = Nothing
  Set xShellApp = Nothing
  Set xFSO = Nothing
End Sub

5. Brúigh F5 eochair nó cliceáil ar an Rith cnaipe chun an cód VBA seo a rith. Anois feicfidh tú go bhfuil gach ceangaltán sna ríomhphoist roghnaithe agus na pictiúir sa chorp meesage priontáilte amach.

Nóta:

  • Tabharfaidh gach íomhá suas bosca dialóige aníos chun deimhniú priontála a iarraidh ort. Cé go mbeidh cineálacha eile comhaid a phriontáil go díreach.
  • Má tá íomhánna i síniú ríomhphoist, tabharfaidh siad suas boscaí dialóige pop-up freisin.
  • Má fhaigheann tú Tá na macraí sa tionscadal seo díchumasaithe earráid, seiceáil an teagaisc seo le do thoil: Conas Macraí a Chumasú agus a Dhíchumasú in Outlook?

Priontáil baisc gach ceangaltán i ríomhphoist roghnaithe iolracha ach amháin pictiúir sa chorp

Chun ceangaltáin a phriontáil i ríomhphoist iomadúla amháin ach na pictiúir sa chomhlacht teachtaireachta in Outlook, le do thoil lean na céimeanna thíos chun cód VBA a chur i bhfeidhm.

1. Sa liosta seoltaí, coinnigh le do thoil Ctrl or Shift eochracha chun ríomhphoist iolracha a roghnú a phriontálfaidh tú a gceangail.

2. Brúigh Eile + F11 eochracha le chéile chun an fhuinneog Microsoft Visual Basic for Applications a oscailt.

3. I bhfuinneog Microsoft Visual Basic for Applications, cliceáil uirlisí > tagairtí. Agus ansin seiceáil an Microsoft Scripting Runtime rogha mar a thaispeántar thíos. Nuair a bheidh sé críochnaithe, cliceáil OK.

4. Cliceáil Ionsáigh > Modúil, agus ansin greamaigh faoi bhun chód VBA isteach i bhfuinneog an mhodúil nua.

VBA: Priontáil gach ceangaltán i iliomad ríomhphoist Outlook

Sub PrintAllAttachmentsInMultipleMails()
  'Update by ExtendOffice 2022/08/05
  Dim xShellApp As Object
  Dim xFSO As Scripting.FileSystemObject
  Dim xItem As Object
  Dim xTempFldPath, xFilePath As String
  Dim xSelItems As Outlook.Selection
  Dim xMailItem As Outlook.MailItem
  Dim xAttachments As Outlook.Attachments
  Dim xAttachment As Outlook.Attachment
  Dim xFile As File
  On Error Resume Next
  Set xFSO = New Scripting.FileSystemObject
  xTempFldPath = xFSO.GetSpecialFolder(2).Path & "\Attachments " & Format(Now, "yyyymmddhhmmss") 'xFSO.GetSpecialFolder(2) For saving temporary files
  If xFSO.FolderExists(xTemfldpath) = False Then 'create temporary folder
    xFSO.CreateFolder (xTempFldPath)
  End If
  Set xSelItems = Outlook.ActiveExplorer.Selection
  Set xShellApp = CreateObject("Shell.Application")
  For Each xItem In xSelItems
    If xItem.Class = OlObjectClass.olMail Then
      Set xMailItem = xItem
      Set xAttachments = xMailItem.Attachments
      For Each xAttachment In xAttachments
        If IsEmbeddedAttachment(xAttachment) = False Then
          xFilePath = xTempFldPath & "\" & xAttachment.FileName
          xAttachment.SaveAsFile (xFilePath)
          Debug.Print xFilePath
        End If
      Next
    End If
  Next
  For Each xFile In xFSO.GetFolder(xTempFldPath).Files
    VBA.DoEvents
    Call xShellApp.ShellExecute(xFile.Path, "", "", "print", 0)
  Next
  Set xSelItems = Nothing
  Set xShellApp = Nothing
  Set xFSO = Nothing
End Sub

Function IsEmbeddedAttachment(Attach As Attachment)
Dim xItem As MailItem
Dim xCid As String
Dim xID As String
Dim xHtml As String
On Error Resume Next
IsEmbeddedAttachment = False
Set xItem = Attach.Parent
If xItem.BodyFormat <> olFormatHTML Then Exit Function
xCid = ""
xCid = Attach.PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x3712001F")
If xCid <> "" Then
    xHtml = xItem.HTMLBody
    xID = "cid:" & xCid
    If InStr(xHtml, xID) > 0 Then
        IsEmbeddedAttachment = True
    End If
End If
End Function

5. Brúigh F5 eochair nó cliceáil ar an Rith cnaipe chun an cód VBA seo a rith. Anois feicfidh tú go bhfuil na ceangaltáin go léir sna ríomhphoist roghnaithe priontáilte.

Nóta:

  • Tabharfaidh gach íomhá a ghabhann leis seo bosca dialóige aníos chun deimhniú priontála a iarraidh ort. Cé go mbeidh cineálacha eile comhaid a phriontáil go díreach.
  • Ní chlóbhuailfear íomhánna i gcorp na teachtaireachta.
  • Má fhaigheann tú Tá na macraí sa tionscadal seo díchumasaithe earráid, seiceáil an teagaisc seo le do thoil: Conas Macraí a Chumasú agus a Dhíchumasú in Outlook?

 


Taispeántas: priontáil ceangaltán amháin nó gach ceangaltán i ríomhphost Outlook


Leid: San Fhíseán seo, Kutools cuirtear cluaisín le Kutools le haghaidh Outlook. Má theastaíonn sé uait, cliceáil le do thoil anseo triail saor in aisce 60 lá a bheith agat gan teorainn!


Uirlisí Táirgiúlachta Oifige is Fearr

Kutools le haghaidh Outlook - Níos mó ná 100 Gnéithe cumhachtacha chun do Outlook a shárú

🤖 Cúntóir Ríomhphoist AI: Ríomhphoist pro toirt le draíocht AI - aon-cliceáil chun freagraí genius, ton foirfe, máistreacht ilteangach. Trasfhoirmigh ríomhphost gan stró! ...

📧 Uathoibriú Ríomhphoist: As Oifig (Ar fáil do POP agus IMAP)  /  Sceideal Seol Ríomhphoist  /  Auto CC/BCC de réir Rialacha Agus Ríomhphost á Sheoladh  /  Auto Ar Aghaidh (Ardrialacha)   /  Beannacht Auto Cuir leis   /  Scoilt Ríomhphoist Ilfhaighteoirí go huathoibríoch i dTeachtaireachtaí Aonair ...

📨 Bainistíocht Ríomhphost: Ríomhphoist a Athghairm go héasca  /  Bloc Ríomhphoist Scam ag Ábhair agus Daoine Eile  /  Scrios Ríomhphoist Dúblacha  /  Cuardach Casta  /  Comhdhlúthaigh Fillteáin ...

📁 Ceangaltáin ProSábháil Baisc  /  Baisc Dícheangail  /  Comhbhrú Baisc  /  Auto Sábháil   /  Auto Dícheangail  /  Comhbhrúite Auto ...

🌟 Draíocht Chomhéadain: 😊Níos mó Emojis Pretty and Cool   /  Treisiú Do Tháirgiúlacht Outlook le Radhairc Tabbed  /  Íoslaghdaigh Outlook In ionad Deiridh ...

???? Wonders aon-cliceáil: Freagair Gach Duine le Ceangaltáin Isteach  /   Ríomhphoist Frith-Iascaireachta  /  🕘 Taispeáin Crios Ama an tSeoltóra ...

👩🏼‍🤝‍👩🏻 Teagmhálaithe & Féilire: Baisc Cuir Teagmhálacha Ó Ríomhphoist Roghnaithe  /  Roinn Grúpa Teagmhála ar Ghrúpaí Aonair  /  Bain Meabhrúcháin Breithlá ...

Thar Gnéithe 100 Fan le do Thaiscéalaíocht! Cliceáil Anseo le Tuilleadh Amach.

 

 

Comments (24)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Is it possible to specify a network printer instead of always printing with the standard printer?
This comment was minimized by the moderator on the site
Dear all,

I had tried the VBA and the code runs but many popups are opening on screen to print images from the mail signature (apparently this is considered an attachment). Anyone knows how to solve it?

S.
This comment was minimized by the moderator on the site
If you don't want to print pictures in the body of a message, please use the code below:
Sub PrintAllAttachmentsInMultipleMails()
  'Update by ExtendOffice 2022/08/05
  Dim xShellApp As Object
  Dim xFSO As Scripting.FileSystemObject
  Dim xItem As Object
  Dim xTempFldPath, xFilePath As String
  Dim xSelItems As Outlook.Selection
  Dim xMailItem As Outlook.MailItem
  Dim xAttachments As Outlook.Attachments
  Dim xAttachment As Outlook.Attachment
  Dim xFile As File
  On Error Resume Next
  Set xFSO = New Scripting.FileSystemObject
  xTempFldPath = xFSO.GetSpecialFolder(2).Path & "\Attachments " & Format(Now, "yyyymmddhhmmss") 'xFSO.GetSpecialFolder(2) For saving temporary files
  If xFSO.FolderExists(xTemfldpath) = False Then 'create temporary folder
    xFSO.CreateFolder (xTempFldPath)
  End If
  Set xSelItems = Outlook.ActiveExplorer.Selection
  Set xShellApp = CreateObject("Shell.Application")
  For Each xItem In xSelItems
    If xItem.Class = OlObjectClass.olMail Then
      Set xMailItem = xItem
      Set xAttachments = xMailItem.Attachments
      For Each xAttachment In xAttachments
        If IsEmbeddedAttachment(xAttachment) = False Then
          xFilePath = xTempFldPath & "\" & xAttachment.FileName
          xAttachment.SaveAsFile (xFilePath)
          Debug.Print xFilePath
        End If
      Next
    End If
  Next
  For Each xFile In xFSO.GetFolder(xTempFldPath).Files
    VBA.DoEvents
    Call xShellApp.ShellExecute(xFile.Path, "", "", "print", 0)
  Next
  Set xSelItems = Nothing
  Set xShellApp = Nothing
  Set xFSO = Nothing
End Sub

Function IsEmbeddedAttachment(Attach As Attachment)
Dim xItem As MailItem
Dim xCid As String
Dim xID As String
Dim xHtml As String
On Error Resume Next
IsEmbeddedAttachment = False
Set xItem = Attach.Parent
If xItem.BodyFormat <> olFormatHTML Then Exit Function
xCid = ""
xCid = Attach.PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x3712001F")
If xCid <> "" Then
    xHtml = xItem.HTMLBody
    xID = "cid:" & xCid
    If InStr(xHtml, xID) > 0 Then
        IsEmbeddedAttachment = True
    End If
End If
End Function
This comment was minimized by the moderator on the site
Dear Amanda,

Thank you for the code. It worked!

S.
This comment was minimized by the moderator on the site
Hi there,

Sorry that printing images will bring up popups. You will have to confirm each to download all the images. If you don't need to print images, please click Cancel.

Amanda
This comment was minimized by the moderator on the site
I am using Microsoft 365 and this worked after deleting line 9. Thanks! This has saved a bit of time for me.
Rated 5 out of 5
This comment was minimized by the moderator on the site
hallo, ich möchte nur den Anhang der Mails von der angegebenen Adresse senden, wie kann ich das machen, danke
This comment was minimized by the moderator on the site
Vielen, vielen Dank dafür! Hat uns enorm viel Arbeit erspart.Auch ich musste - wie bereits in den Kommentaren geschrieben - die neunte Zeile "Dim xAttachment As Outlook.Attachment On Error Resume Next" entfernen, dann lief der Code einfandfrei durch.
This comment was minimized by the moderator on the site
Hi, this worked fine for me yesterday but now it is saying 'the macros in this project are disabled' Any advice how to enable them? 
This comment was minimized by the moderator on the site
This comment was minimized by the moderator on the site
on line 9 , removing "On Error Resume Next" worked for me.
This comment was minimized by the moderator on the site
Hi everyone, we updated the VBA code in the tutorial on 2022/08/03. If you still need to print all attachments, please check the new code. 😊
This comment was minimized by the moderator on the site
Hi, I have been using this shortcut for a few weeks now, printing all attachments from multiple emails at once, and I have recently been having to remove line 9 as Nilanka said, which has been working, but this no longer works. Im getting the warning box saying the macros in this project are disabled.....and so on... if someone has a solution to make this work as it has been prior to now, please lmk, as i am selecting about 60 emails all containing attachments to print. Thanks
This comment was minimized by the moderator on the site
This comment was minimized by the moderator on the site
Thank you 
This comment was minimized by the moderator on the site
yes this just worked for me as well. Thank you!
This comment was minimized by the moderator on the site
the VBA code gives syntax is error
This comment was minimized by the moderator on the site
if a pdf has the same name the macro prints just one pdf, how can i change the code in order to modify the pdf name?
This comment was minimized by the moderator on the site
if you want to print all attachments together in 1 email here's what you do. first make a folder on your desktop....I named mine "print". go to the email with the attachments....highlight all of the attachments, right click, save all attachments to the print folder. Open the print folder.....highlight all of them.....right click.....print.



now if only I could figure out how to print all the attachments in 200 emails without opening each one and printing it.
This comment was minimized by the moderator on the site
Kutools for Outlook's Detach All (Attachments) feature can help you download all attachments from multiple emails with several clicks! https://www.extendoffice.com/product/kutools-for-outlook/outlook-detach-attachments.html
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations